chipsalliance / yosys-f4pga-plugins

Plugins for Yosys developed as part of the F4PGA project.
https://f4pga.org
Apache License 2.0
83 stars 46 forks source link

systemverilog-plugin: Enable non-synthesizable code removal in Surelog. #508

Closed mglb closed 1 year ago

mglb commented 1 year ago

Always activate -synth option in Surelog, which makes it ignore code between // synopsys translate_off and // synopsys translate_on (and a few other similar comments).

yosys-systemverilog: https://github.com/antmicro/yosys-systemverilog/actions/runs/4959300348

mglb commented 1 year ago

yosys-systemverilog CI failed when building opentitan with this branch. I've rebased and check it again. Draft until everything end up green.

mglb commented 1 year ago

False alarm, seems to work fine: https://github.com/antmicro/yosys-systemverilog/actions/runs/4959300348