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.

How to monitor the running threads in systemverilog testbench?

Status
Not open for further replies.

weben

Newbie level 5
Joined
May 17, 2011
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,349
Sometimes I used forever or repeat in fork...jone_none thread but forgot to disable it. It's still running and led into some unexpected situation in the following testcases. Is there any method that can let me find out which inappropriate threads are running in the systemverilog testbench? Thanks a lot!
 

The process window will show you all the current processes threads. There is a hierarchical view of the threads that will show you the parent/child relationships created by fork/join_none. Their could be a lot of threads, so it's best to set a breakpoint on a statement like 'wait fork' where you can see all the child threads it is waiting on. But you will know better where a good place to set a breakpoint would be for your testbench.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top