It seems that openlane can manage some SV constructs like genvar for synthesis, but if the same file is used for blackboxing, the flow will fail. Has anyone else noticed this?
Yes, I have noticed the same behaviour. I then resorted to the GL representation of the module for the blackbox.
m
Matt Venn
11/15/2022, 8:23 PM
I tried that but it failed with power supply issues
Matt Venn
11/15/2022, 8:23 PM
Do you have a repo link you can share?
t
Tobias Strauch
11/15/2022, 11:06 PM
I'm not sure it has something to do with SV (you mean SystemVerilog ?) as genvar is already in Verilog, so yosys understands it. It looks as if an additional OL parser has an issue with the Verilog genvar construct.