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.

Can one force ModelSim to flag signals with multiple drivers?

Status
Not open for further replies.

matrixofdynamism

Advanced Member level 2
Joined
Apr 17, 2011
Messages
593
Helped
24
Reputation
48
Reaction score
23
Trophy points
1,298
Activity points
7,681
Signals that have multiple drivers (by mistake of course) may look fine in simulation sometimes and become X at other times. When one tries to synthesize the code, it will always be flagged up as such code cannot be synthesized. Anyway, is there a way to force ModelSim to flag such signals when it is compiling the code so we can remove the mistake?
 

use std_ulogic and std_ulogic_vector instead of std_logic and std_logic_vector. These are unresolved types and it is a error to have multiple drivers.
Otherwise a simulation with a good testbench should catch it. And finally, the synth should get it pretty quick.
 
Its just that the synthesis tool from Altera (now Intel) takes so much longer than ModelSim to do its job
 

You probably can write a TCL script based on getting the nets and using the drivers function on them and then whatever counts list size in TCL. I'm fairly sure there is a way to do this, I don't know if it is built into modelsim as an efficient command though.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top