• 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. Custom IC Design
  3. MC stuck in ams simulation

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 126
  • Views 5949
  • 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

MC stuck in ams simulation

sjwprcker
sjwprcker over 2 years ago

Hi, 

I have a tran sim using ams simulator with Monte Carlo sampling. There is only one clock generator written in verilogams creating a digital clock as

////////////////////////////////////////////////////////

`include "constants.vams"
`include "disciplines.vams"
`timescale 1ns / 100ps
module clk_vams (clk, freq_1e6);

input freq_1e6;
output clk;

electrical freq_1e6;
reg clk_int;
real freq;

initial clk_int = 0;


always begin
freq = V(freq_1e6)*1e6;
#(0.5e9 / freq) clk_int = ~clk_int;
end


assign clk=clk_int;

endmodule

///////////////////////////////////////

This code works well in normal simulation, but not work in MC simulation. The log shows that simlation is stuck at beginning (time = 0) without reporting any error. 

My spectre version is 21.1.0.664, isr16, and xcelium version is 22.03-s001. 

BR

  • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dear sjwprcker,

    sjwprcker said:
    This code works well in normal simulation, but not work in MC simulation. The log shows that simlation is stuck at beginning (time = 0) without reporting any error. 

    How is this failure mechanism different than your post 7 days ago at URL:

    https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/57605/ams-simulation-within-mc

    It appears to me your tool versions are identical and the failure mechanism is identical.

    Andrew responded to that post and suggested you might contact customer support.

    Is there something I am overlooking that warrants a second look?

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ShawnLogan

    Thanks ShawnLogan, I agree it's the same problem just with a little more detail.

    I managed to quickly reproduce the problem, but I have no idea why this is failing and I didn't find any similar issues, so the recommendation remains the same - contact customer support as this will almost certainly need to go to R&D to investigate further and find a fix.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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