Wednesday, February 08, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: waveform dump problem using SystemVerilog
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
ravurig
Posts: 2
Online: User is Offline
4/01/2007 5:44 PM  
Hi ,
     I am using NcVerilog 5.6 with +sv option to enable SystemVerilog.
I am getting the following error during simulation.

***Current stack trace:
 -->[Don't Know      ] 0        
 -->[Don't Know      ] 5d62b0    ncdbg_exit           + 1bdc
 -->[Don't Know      ] 3eb568    sss_tag_dbend        + 520
 -->[VPI Overhead    ] 136a3c    vpi_tag_ostart       + 191b4
 -->[VPI Overhead    ] 136afc    vpi_tag_ostart       + 19274
 -->[VPI Overhead    ] 1385a8    vpi_tag_ostart       + 1ad20
 -->[VPI Overhead    ] 156f68    vpi_tag_ostart       + 396e0
***Verilog source where error occurs:
   $recordfile(...) (PLI calltf)
        Module: TB_TST
        Instance: TB_TST
        File: ./TB_TST.v
        Line: 422
ncverilog: *E,SIMERR: Error during Simulation (status 255), exiting.

Can somebody help me.
I am using $recordfile("./filename");
                  $recordvars();
Are these PLI's not supported in SystemVerilog.

davyzhu
Posts: 90
Online: User is Offline
4/03/2007 1:27 AM  
Hi ravurig,

I think you may try to use latest IUS583-S003. Because Verilog and SV co-simulation is not stable in old IUS version.

Regards,
Davy
ajeetha
Posts: 97
Online: User is Offline
4/03/2007 7:35 AM  
Posted By ravurig on 4/01/2007 5:44 PM
Hi ,
     I am using NcVerilog 5.6 with +sv option to enable SystemVerilog.
I am getting the following error during simulation.


   $recordfile(...) (PLI calltf)
        Module: TB_TST
        Instance: TB_TST
        File: ./TB_TST.v
        Line: 422
ncverilog: *E,SIMERR: Error during Simulation (status 255), exiting.

Can somebody help me.
I am using $recordfile("./filename");
                  $recordvars();
Are these PLI's not supported in SystemVerilog.

Hi Ravi,
    This is a classical problem when simulators move onto becoming full fledged verification platforms. Honestly I'm surprised to see this with NCSIM though. As a quick fix, try:

  $recordvars(top.dut);<br><br>This would make sure you dump your DUT signals without bothering about TB stuff. I've seen similar issues with other tool(s), but given the success of Specman's amazing dumping capability I thought Cadence would have done a better job here.<br><br>Also check with CDN help desk on when they would support this TB dumping. I've an article in making on "Debugging Testbenches in SystemVerilog" - this will be little tool specific and will require some methodology help etc. It is not in a shape to be shared right now, but if you are based in Bangalore drop me an email ajeetha <> gmail.com and we can come and talk to you in person on this topic.<br><br>Regards<br>Ajeetha, CVC<br>www.noveldv.com    <br>

ajeetha
Posts: 97
Online: User is Offline
4/03/2007 7:39 AM  
Hi Ravi,
   
This is a classical problem when simulators move onto becoming full
fledged verification platforms. Honestly I'm surprised to see this with NCSIM though.
As a quick fix, try:


$recordvars(top.dut)


This would make sure you dump your DUT signals without bothering about TB stuff.
I've seen similar issues with other tool(s), but given the success of Specman's
amazing dumping capability I thought Cadence would have done a better job here.

Also check with CDN help desk on when they would support this TB dumping.
I've an article in making on "Debugging Testbenches in SystemVerilog" - this will
be little tool specific and will require some methodology help etc. It is not in
a shape to be shared right now, but if you are based in Bangalore drop me an
email ajeetha <> gmail.com and we can come and talk to you in person on this
topic.

Regards
Ajeetha, CVC
www.noveldv.com   <br>
Jim McGrath
Posts: 6
Online: User is Offline
4/04/2007 8:52 AM  
I would suggest a couple of things.

1) As indicated, move to the latest Incisive (NC-Verilog) release which is currently 5.8 available on downloads.cadence.com
2) File a sourcelink help request or send email to support@cadence.com - most likely support will want a test case which
reproduces the error.
3) try switching to shm_open() and shm_dump()
4) Contact your local Incisive AE who is always more than willing to provide some advice
5) If you can identify the construct causing the problem, you can always dump "around it".

I would suspect maybe the dumping of some of the SV TB constructs lagged the implementation a bit and the 5.6 release is
about 2 years old now. The latest releases have a boatload more field testing these days, are far more stable and offer
way more features.

Best regards,

Jim McG.
ravurig
Posts: 2
Online: User is Offline
4/04/2007 5:20 PM  
Hi All,
Thank you very much for your suggestions.
I will try to move to newer version of IUS.

For time being I have integrated Novas Debussy for waveform dumping using fsdbdumpvars() and fsdbduumpfiles.
I am able to get my waveform.

I have used DPI to call C-function in my SV testbench along with my Verilog module.

I am comparing the simulation speed of SV testbench with Verilog'95 & DPI calling C-function
and another Verilog testbench with same C-function implemented as behavioral model(Verilog-2001).
I started the simulation with a view that SV testbench with DPI is going to give me better solution.
But behavioral model is faster than C-model testbench.

Case 1:-
Testbench:- SV
Verilog module:- '95
C-model :- Called by SV-DPI.

Case 2:-
Testbench:- Verilog'95
Verilog module:- '95
C-function as behavioral model:- Verilog 2001(to use its real and other functions).

I thought Case1 is faster than Case2.

But my analysis shows Case2 is faster than Case1.

Can any body help me out.


ajeetha
Posts: 97
Online: User is Offline
4/05/2007 8:23 AM  
Hi Rav,
  I'm not surprised - SV support is still new and hence may not enjoy all the performance optimizations that good old Verilog 95 has. One suggestion - try using separate ncelab commands - if possible. i.e. in your Case1:

******
Case 1:-
Testbench:- SV
Verilog module:- '95
C-model :- Called by SV-DPI.
*********

Compile 95 module using ncvlog -f v95.f
             ncelab v95_top
       ncvlog -sv31a -f sv.f
       ncelab sv_tb_top v95_top

Also, since you believe the DPI will give you the boost - do you know how much is the time spent on the C-Verilog/SV intreaction? A profile run should tell you that - unless that PLI is a significant portion you won't see any boost.

More than this I believe you need to work with your AE to get it better. If you need more help on profiling and general optimization enhancements etc. (not necessariy tied to NC), contact me separately if you wish.

Good Luck
Ajeetha, CVC
www.noveldv.com


Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > SystemVerilog > waveform dump problem using SystemVerilog


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.