cambridgehackers / fpgamake

Generates Makefiles to synthesize, place, and route verilog using Vivado
92 stars 24 forks source link

Add support for unmanaged implementation constraint files #20

Closed acw1251 closed 6 years ago

acw1251 commented 6 years ago

This adds support for adding unmanaged implementation constraint files in Vivado with the flag --unmanaged-implconstraints.

An unmanaged constraint file is an XDC file that is imported as a plain TCL file, and vivado will not try to add or remove constraints from the file. This allows for more of the TCL language to be included in the file such as foreach and if. As a side effect of this, some critical warnings in managed constraint files get promotes to errors in unmanaged constraint files, resulting in some builds failing if all constraint files are blindly set to unmanaged.

Unmanaged constraint files are read using the -unmanaged flag of the read_xdc command.

acw1251 commented 6 years ago

Related pull request in connectal: https://github.com/cambridgehackers/connectal/pull/153