Hi,
I downloaded the code for the MX-3 Led Tile Controller.
When i opened it in the XDE and uncommented the led driver,
i got some syntax error's. All like these:
clock clk_mii_ref = on stdcore[2]: XS1_CLKBLK_REF;
clock clk_mii_rx_0 = on stdcore[2]: XS1_CLKBLK_1;
clock clk_mii_tx_0 = on stdcore[2]: XS1_CLKBLK_2;
Can anyone help me with this?
Greetz,
Ganux
Syntax Error in XC-3 Led Tile Controller Reference Design
-
- Active Member
- Posts: 35
- Joined: Tue Mar 08, 2011 12:58 pm
-
- Respected Member
- Posts: 279
- Joined: Fri Dec 11, 2009 1:34 pm
Hi Ganux,
I'm not sure if it's the problem but the 'on stdcore[2]' normally comes first in the declaration.
I'm not sure if it's the problem but the 'on stdcore[2]' normally comes first in the declaration.
Code: Select all
on stdcore[2]: clock clk_mii_ref = XS1_CLKBLK_REF;
-
- XCore Addict
- Posts: 216
- Joined: Wed Feb 10, 2010 10:26 am
I have add this as an issue to the led tile controller code.
I will need to look into the code anyway.
Thanks for the hint
I will need to look into the code anyway.
Thanks for the hint
-
- Active Member
- Posts: 35
- Joined: Tue Mar 08, 2011 12:58 pm
hi,
thx for the answers!!
i tried this and the syntax errors are gone...
i haven't got the XC-3 yet.. so i can't really test it..
but thx anyway!! =D
Ganux_
thx for the answers!!
i tried this and the syntax errors are gone...
i haven't got the XC-3 yet.. so i can't really test it..
but thx anyway!! =D
Ganux_
-
- XCore Addict
- Posts: 216
- Joined: Wed Feb 10, 2010 10:26 am
If you start coding I would be happy if you fork the repository on github: https://github.com/xcore/ap_led_tile_controllerGanux wrote:hi,
thx for the answers!!
i tried this and the syntax errors are gone...
i haven't got the XC-3 yet.. so i can't really test it..
but thx anyway!! =D
Ganux_
So that I can reintegrate the changes later (it is enough if you do the work once ;)
You can comment any part of the source - if possible keep your comits as small as possible so that I can easily cherry pick them (git jargon for migrating single comits from one branch to another).
If you got any driver schematics I would also be happy if you can either publish them here or document them somewhere in the github wiki (really somewhere - I will try to restructure it, once I find time to upload all exisitng documentation): https://github.com/xcore/ap_led_tile_controller/wiki
From my point of view any correction or documentation can only help the code ;)
Marcus