• 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. Verilog-A model equivalent to primitive model?

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 15384
  • 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

Verilog-A model equivalent to primitive model?

greatqs
greatqs over 8 years ago

Hi,

I'm build a AMS test bench (ADE based) and try to replace all resistor/inductor/capacitor from analogLib primitives to Verilog-AMS models.

The purpose is to make every elements flexible to be changed in the AMS stimulus sequence by OOMR without too many ADE variables.

An example of inductor is as below (similar for resistor and capacitor), my question is this model ( I and V linked by ddt() or idt()) accuracy is the same as Spectre primitives in AMS simulation?

If not, how can I improve the accuracy to make sure my simulation results will be the exactly the same as those components in Spectre primitives?

`include "constants.vams"
`include "disciplines.vams"


module ams_inductor(MINUS, PLUS);

inout MINUS;
inout PLUS;

electrical MINUS;
electrical PLUS;

// Default DC inductance
parameter real inductance = 1e-9;
parameter real tt = 10e-6;

// Variables for OOMR
real indSet = inductance;
real ttSet = tt;

analog begin
V(PLUS, MINUS) <+ indSet*ddt(I(PLUS, MINUS));
end


endmodule

  • Cancel
Parents
  • greatqs
    greatqs over 8 years ago
    Hi Is anyone can help on my questions? Is there any tricks regarding on idt() and ddt() on modeling accuracy? For example, I can either use idt() or ddt() in building an capacitor or inductor model, does that cause discrepancy as compared to analogLib primitives on Spectre or IRUN-Spectre?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • greatqs
    greatqs over 8 years ago
    Hi Is anyone can help on my questions? Is there any tricks regarding on idt() and ddt() on modeling accuracy? For example, I can either use idt() or ddt() in building an capacitor or inductor model, does that cause discrepancy as compared to analogLib primitives on Spectre or IRUN-Spectre?
    • 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