cherishnguyen
Newbie level 5
Hi all,
Can anyone know how to write command to add the MSB bit of my signal, let's say, signal 'a' with the BIT WIDTH is changable depends on each stimuli.
I just know to write it like that in my .do file:
add wave -noupdate -format Logic -radix binary {/top_tb/dut/a[5]};
In this case, signal 'a' only has a BIT WIDTH is 6, but in another case, BIT WIDTH will change. Becasue, i wanna test all my test cases automatically, so is there any way i can display the MSB bit on the wave window of Modelsim without using specific number [5] like that?
Any hint please advice me. Thx in advances.
Can anyone know how to write command to add the MSB bit of my signal, let's say, signal 'a' with the BIT WIDTH is changable depends on each stimuli.
I just know to write it like that in my .do file:
add wave -noupdate -format Logic -radix binary {/top_tb/dut/a[5]};
In this case, signal 'a' only has a BIT WIDTH is 6, but in another case, BIT WIDTH will change. Becasue, i wanna test all my test cases automatically, so is there any way i can display the MSB bit on the wave window of Modelsim without using specific number [5] like that?
Any hint please advice me. Thx in advances.