Hi
I am using Standalone Yosys Version 0.62 for RTL synthesis. In my design, some modules include power pins conditionally using the following Verilog construct:
ifdef USE_POWER_PINS
.VPWR(vccd),
.VGND(vssd),
endif
To enable this, I have added the following in my Yosys script (*.ys file):
verilog_defines -D USE_POWER_PINS
However, the macro does not seem to be taking effect during synthesis, and the power pins are not being included in the design as expected.
Could you please clarify:
-
The correct way to define
USE_POWER_PINSin standalone Yosys 0.62 -
Whether
verilog_definesis sufficient or if another method is required -
If there is support for something like
NTH_USE_PG_PINS_DEFINESor similar in the Yosys scriptThanks