Closed thasti closed 1 year ago
When creating a project that defines no .tcl/vhdl2008/library files, project generation fails:
... generate-project | .../firmware/xdc/timing.xdc ERROR: exception caught! 'prop' generate-project | Vivado% quit
I traced this error to https://github.com/ipbus/ipbb/blob/develop/src/ipbb/generators/vivadoproject.py#L173 - the issue seems to be that the generator iterates through the possible types of commands (add, ip, prop), but line 177 has no handling for the case when one of these keys don't exist.
add
ip
prop
In my particular case, this was triggered when I moved all my constraint files from .tcl to .xdc, and as such they are then simply added through the add group instead of the prop group (leaving it empty).
.tcl
.xdc
When creating a project that defines no .tcl/vhdl2008/library files, project generation fails:
I traced this error to https://github.com/ipbus/ipbb/blob/develop/src/ipbb/generators/vivadoproject.py#L173 - the issue seems to be that the generator iterates through the possible types of commands (
add
,ip
,prop
), but line 177 has no handling for the case when one of these keys don't exist.In my particular case, this was triggered when I moved all my constraint files from
.tcl
to.xdc
, and as such they are then simply added through theadd
group instead of theprop
group (leaving it empty).