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.

Verilog bus contention debug

Status
Not open for further replies.

beeflobill

Member level 3
Member level 3
Joined
Jun 6, 2012
Messages
61
Helped
8
Reputation
18
Reaction score
7
Trophy points
1,288
Visit site
Activity points
1,872
I'm trying to debug a bus contention issue in Verilog. My problem is that I'm having trouble identifying which drivers are contending on the bus. Is there a way to list all the drivers to a wire and what they are attempting to drive? Or, is there a better method for doing this?

By the way, I'm using nc-verilog, but if you have a solution in a different tool I'd still be interested to know because any inputs or concepts would be helpful.

I found a similar question at https://www.edaboard.com/threads/281838/

Thank you.
 

Synopsys' VCS has a "show drivers" command (or maybe was simply "show" or "drivers") with a path to an object as a parameter.
ModelSim/Questa has a similarly named command.
Both are more easily used in the GUI, via drag-and-drop or else by selecting the target signal in waveform window, clicking on the corresponding icon, etc.
But I also recall you may need to specify some compile-time options to turn-off certain optimizations and/or also enable the UCLI (in the case of VCS).
(but this may already be the case if you are interactively debugging in a GUI-mode)

I'd be very surprised if nc-verilog does not offer a similar debug facility - I do not have access to that simulator.
It should be at least touched-upon in the GUI/Users Manual.
 

    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top