In reply to DigvijayS:
In reply to aditgupta100:
Hello Adit,
If you want to set Tx and Rx lane numbers at compile_time go with either Macros or Parameters.
If you want to change Tx and Rx lane numbers at simulation time use $value$plusargs system task.
Yes i want to change the lane numbers at simulation time, which will be random (not necessarily from command line, it is randomized internally in uvm_sequence).
And even if you are telling me to use macros, will you maintain 16 different macros if 16 different instances (with different configuration) of Tx are required.