Closed QuantamHD closed 1 year ago
@kamilrakoczy @hzeller
There is no information about ranges for atype_t
in UHDM. I've created issue in Surelog to fix this: https://github.com/chipsalliance/Surelog/issues/3642
The issue with missing ranges has been fixed in Surelog.
It appears that bumping Surelog to 8b94787
also requires some changes in the plugin.
Here's a change that adjusts the way sizes of constant objects are interpreted (merged):
https://github.com/chipsalliance/yosys-f4pga-plugins/pull/510
We're working on making use of the new information about ranges that is now added to typespecs in Surelog 8b94787
.
@QuantamHD This issue should be fixed using submodules after: https://github.com/antmicro/yosys-systemverilog/pull/1710.
looks like GH closed this automatically, @QuantamHD can you check if this works for you, and close the issue if everything is OK?
Will do @grotival heads up
works well! Thanks!
great, so we can close this
When you uncomment,
in the example below you get the error
ERROR: member bfloat16_flags of a packed union has 3 bits, expecting 24
. There's a secondary bug here with the statement// b <= a.atype_t[0][0];
that also causes an error in the plugin. These seem like two seperate, but related issues.The union members have the same size, but the plugin think they are different.