I have an ALU module with a set of parameters used as opcodes.
parameter ADD=0,
SUB = 1,
MUL = 2,
DIV = 3;
Currently building a testbench for that module, I just want to read these values in the testbench, something like C language alu.ADD
.
Is that possible ?
instanceName.ADD
? \$\endgroup\$