In reply to sharvil111:
In reply to prashanth.billava:
There is no generate block shown in your code. What is “ss_tb” and “symbol_data_ln0”?
Yes there is a conditional if-generate. The generate/endgenerate keywords are optional.
The best thing to do is make misalign_ln0_data a parameter. Some tools will allow you to override a parameter from the command line.
Otherwise you will have to put a conditional branch with each assign statement.
assign ss_tb.symbol_data_ln0[9] = misalign_ln0_data ? .... : ....;
assign ss_tb.symbol_data_ln0[8] = misalign_ln0_data ? .... : ....;