You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that Vivado's block design facility has the annoyingly arbitrary limitation that ports may only be of type std_logic or std_logic_vector. Unfortunately, this means that VHDL produced by Clash, which contains various types, cannot be used in this facility.
It would be great if there were a way to flatten ports to std_logic[_vector] to side-step this limitation.
The text was updated successfully, but these errors were encountered:
I know we turn a bunch of things into std_logic_vector if you give flag -fclash-hdlsyn Vivado to clash but I forgot the details. Do you already specify that flag when you observe the problem?
If that flag doesn't do the job, would a flag that turns all ports of the topEntity into std_logic{,_vector} fit the bill or perhaps on all entities with a Synthesize annotation?
[edit]
Perhaps add -fclash-no-render-enums as well (which appears to be missing from the documentation)
[/edit]
It turns out that Vivado's block design facility has the annoyingly arbitrary limitation that ports may only be of type
std_logic
orstd_logic_vector
. Unfortunately, this means that VHDL produced by Clash, which contains various types, cannot be used in this facility.It would be great if there were a way to flatten ports to
std_logic[_vector]
to side-step this limitation.The text was updated successfully, but these errors were encountered: