Alchitry Forums
Alchitry CU Constraints - Printable Version

+- Alchitry Forums (https://forum.alchitry.com)
+-- Forum: Alchitry (https://forum.alchitry.com/forum-1.html)
+--- Forum: General Questions (https://forum.alchitry.com/forum-2.html)
+--- Thread: Alchitry CU Constraints (/thread-41.html)



Alchitry CU Constraints - kebo - 04-22-2019

Hello All,

I finally got some time to try out my Alchitry CU board. I worked trough the first couple of Verilog tutorials with Alchitry Lab and everything worked fine so far. Now I'm really stuck with the constraints...How can I assign custom pins rather the ones provided with the alchitry.acf file or how do I now what name all the pins have? Is there a description for that ? What I basically want to do is to declare some new outputs and inputs besides the LEDs in the default .acf file using the Alchitry CU with the Alchitry Br shield. Thanks in advance!

Cheers,
Kevin


RE: Alchitry CU Constraints - jdeschamps - 05-28-2019

(04-22-2019, 08:11 PM)kebo Wrote: Hello All,

I finally got some time to try out my Alchitry CU board. I worked trough the first couple of Verilog tutorials with Alchitry Lab and everything worked fine so far. Now I'm really stuck with the constraints...How can I assign custom pins rather the ones provided with the alchitry.acf file or how do I now what name all the pins have? Is there a description for that ? What I basically want to do is to declare some new outputs and inputs besides the LEDs in the default .acf file using the Alchitry CU with the Alchitry Br shield. Thanks in advance!

Cheers,
Kevin

It seems to me that the pin names available within Alchitry Lab are defined in this file: 
https://github.com/alchitry/Alchitry-Labs/blob/master/src/com/alchitry/labs/hardware/pinout/AlchitryCuPinConverter.java

There you see that you can refer to the pins as the bank letter and the number within the bank (e.g. "B40") or the SPI signals.

samuelcomeau has posted an equivalent file (.txt) there:
https://forum.alchitry.com/thread-52-post-136.html#pid136


RE: Alchitry CU Constraints - alchitry - 06-03-2019

Just to add to jdeschamps answer, the pin names in a .acf are the names on the header pins and are the same for the Au or Cu. You may find this helpful https://docs.google.com/spreadsheets/d/1Fg0PFP3jNcYQkVB1-l-_oCWh58KpFPzT8NRaq8LS9uQ/edit?usp=sharing

The pin numbers are printed on the Br element as well. They follow the convention of BANK_LETTER + PIN_NUMBER for example A2 is bank A pin 2.


RE: Alchitry CU Constraints - delop - 06-27-2019

(06-03-2019, 04:23 PM)alchitry Wrote: Just to add to jdeschamps answer, the pin names in a .acf are the names on the header pins and are the same for the Au or Cu. You may find this helpful https://docs.google.com/spreadsheets/d/1Fg0PFP3jNcYQkVB1-l-_oCWh58KpFPzT8NRaq8LS9uQ/edit?usp=sharing

The pin numbers are printed on the Br element as well. They follow the convention of BANK_LETTER + PIN_NUMBER for example A2 is bank A pin 2.

One note looking at the linked spreadsheet.

It looks like the differential pins on Bank A 45/46 on the Au should be swapped.  From the spreadsheet 45 and 46 are listed as IOP and ION, respectively.

Nets in the February Au schematic show 45 going to L24N_14 (R7) and 46 to L24P_14 (R6).


RE: Alchitry CU Constraints - alchitry - 07-23-2019

You are definitely correct! That was unintended in the schematic and I updated the sheet to reflect that. I don't think it'll cause any major issues as you should be able to just invert the input if they are flipped.

Good catch!