hdl / constraints

Constraint files for Hardware Description Language (HDL) designs targeting FPGA boards
https://hdl.github.io/constraints
Apache License 2.0
40 stars 9 forks source link

Add CmodA7-35T #9

Open splinedrive opened 1 year ago

Paebbels commented 1 year ago

Thanks for contributing to this project.

Please split your XDC file into one file per logical interface.

splinedrive commented 1 year ago

I can split but is their a naming convention regarding pins?

Paebbels commented 1 year ago

Have a look at KC705.

I saw LEDs in your file, so that would be GPIO.LED.xdc file with CmodA7_GPIO_LED... pins.

Paebbels commented 1 year ago

Btw. don't comment out pins, they can be all active.

Commenting is not needed because:

Furthermore, by having logical pin groups in files, you can also have matching pins timings or other clock and placement constraints close by, so others won't miss adding them to the project.

Paebbels commented 1 year ago

Oh, and you can read in the projects documentation e.g. starting here: https://hdl.github.io/constraints/Structure.html