Forum Discussion
SHung4
New Contributor
7 years agoI write the code in verilog file like this:
----
`ifdef FPGA
.....
`endif
----
And I can use Setting-compiler setting-Verilog HDL input to add a macro FPGA when synthesis.
But I find that it don't work when run RTL-simulation.