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.

Check if a signal exist or is connected to anything in Modelsim

Status
Not open for further replies.

emsey

Newbie level 3
Newbie level 3
Joined
Jun 26, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
13
Hi all,

In Modelsim, I want to add all the filip-flops Q signal to the wave form. But, before, I want to check if this Q signal is driving anything or it's connected to anything and then add it to the waveform.

something like this:

Code:
if /dut/or1200/mult_mac_reg_12_/Q signal exist then:
       add wave sim:/dut/or1200/mult_mac_reg_12_/Q

The problem is that, if I simply write:
Code:
add wave sim:/dut/or1200/mult_mac_reg_12_/Q
it will be added to the waveform no matter if any wire is connected to this port or not.

Any comment?

Cheers
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top