Ifdef Vs plusargs:
In short: The difference between ifdef and plusargs is when they act. An ifdef is a compile time macro: it decides which code is built into the image, so changing it needs a recompile, but the excluded code is truly gone. A plusarg is a run time switch: the whole design is compiled once and…
