• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. NCSIM stops simulation without giving any notice.

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 15337
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NCSIM stops simulation without giving any notice.

prkroon
prkroon over 14 years ago

I want to simulate a scanvector set via an instantiated scantest module in my testbench. The module takes every 8 usec a vector from the vectorset which is a seperate rom.cde file.

The main part for the execution loop which is part of my verilog module is responsible for picking up a next vector from the rom.cde file.

I depicted hereby the loop:

***********************************************************************************************************************
  for (TBvector = 1; TBvector <= 693; TBvector = TBvector + 1) begin  // trigger comment display
    #0 if (TBshift_vector==1)  TBnormal_vector=0;
       if (TBnormal_vector==1) TBshift_vector=0;

    if (TBrepeat1_i > TBrom1_repeat) begin
      TBindex1 = TBindex1 + 1;     // trigger $getpattern for ROM 1
      #0 TBperiod = TBw_per[TBselect];
      TBrepeat1_i = 1;
    end
    if (TBrepeat2_i > TBrom2_repeat) begin
      TBindex2 = TBindex2 + 1;     // trigger $getpattern for ROM 2
      TBrepeat2_i = 1;
    end

    #0;
    -> TBcycleStart; // trigger waveform generators
    #TBperiod;

    TBrepeat1_i = TBrepeat1_i + 1;
    TBrepeat2_i = TBrepeat2_i + 1;
    if (TBshift_vector >0) TBshift_vector  = TBshift_vector + 1;
    if (TBnormal_vector>0) TBnormal_vector = TBnormal_vector + 1;
   end


***********************************************************************************************************************

As you can see the loop should be executed 693 times, however after 125 the simulation stops at the red line indicating that an event is fired. It seems that at the end of vector 125 no event takes place anymore and the simulation stops without giving any fkind of information what the reason is that the loop is abandoned.

I have no disk space issues and in the remaing part of the scantest driver there is no interruption statement to quit simulation. Also my ncsim.log file does not give error, warning or failure information, only "Ran until 1067896360588 FS + 0"

Question: How can I get information from my ncsim simulation what the reason could be that the simulator stops at this point in time. Remind also that the max. simulation time for the simulator to run was set at 1 sec!

  • Cancel
Parents
  • prkroon
    prkroon over 14 years ago

    Problem is solved now and it is not a ncsim problem. In the ncsim.tcl file which controls the simulation run the last run command was "run 1 ms".

    By removing the 1 ms attribution the full vectorset is simulated completely. Case closed.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • prkroon
    prkroon over 14 years ago

    Problem is solved now and it is not a ncsim problem. In the ncsim.tcl file which controls the simulation run the last run command was "run 1 ms".

    By removing the 1 ms attribution the full vectorset is simulated completely. Case closed.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information