In reply to dave_59:
`ifdef A
`define AorB
`elsif B
`define AorB
`endif
`idfef AorB
...
`endif
You would nest the `ifdef to define AandB
So you mean, we need to replicate the code twice? :(((
Isn’t there any shortcut available?
In reply to dave_59:
`ifdef A
`define AorB
`elsif B
`define AorB
`endif
`idfef AorB
...
`endif
You would nest the `ifdef to define AandB
So you mean, we need to replicate the code twice? :(((
Isn’t there any shortcut available?