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
ERROR: [Synth 8-9123] an enum variable may only be assigned the same enum typed variable or one of its values [/home/fconti/pulpissimo/working_dir/pulp_soc/rtl/pulp_soc/soc_interconnect.sv:301]
It's not clear why the error is not always raised, note that enumeration is strongly typed in the SV standard as per IEEE 1800-2017 sec. 6.19.3. I guess other tools treat this simply as a logic [9:0], but why the error is not always there in Vivado is not clear to me atm.
The text was updated successfully, but these errors were encountered:
axi/src/axi_pkg.sv
Lines 468 to 476 in ac5deb3
Logically speaking, it seems to me that the
xbar_latency_e
should be alogic
vector (or astruct
), not an enumeration. It makes logically sense to activate cuts for each channel separately and we have instances in which this is done (e.g., https://github.com/pulp-platform/pulp_soc/blob/f31c5a25f387432231be0bc6457a08fe47ce6f61/rtl/pulp_soc/soc_interconnect.sv#L277 ).Under some (currently not so clear) conditions, this may trigger a
Synth 8-9123
elab error in Vivado (seen 2023.2):It's not clear why the error is not always raised, note that enumeration is strongly typed in the SV standard as per IEEE 1800-2017 sec. 6.19.3. I guess other tools treat this simply as a
logic [9:0]
, but why the error is not always there in Vivado is not clear to me atm.The text was updated successfully, but these errors were encountered: