Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

command to add the MSB bit of my signal in Modelsim

Status
Not open for further replies.

cherishnguyen

Newbie level 5
Joined
Sep 21, 2009
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Korea
Activity points
1,383
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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top