• 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. Mixed-Signal Design
  3. SPICE built in primitives in an AMS simulation

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 64
  • Views 17985
  • 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

SPICE built in primitives in an AMS simulation

mhkvy4
mhkvy4 over 7 years ago

I had a quick question. Is it possible to use a SPICE built in primitive like a vcvs or a vccs in an AMS simulation which has verilog A and verilog AMS modules instantiated? When I try to use a VCVS in a testbench with a verilog a and verilog ams instances I get the following error.

<instance number>  of cell 'vcvs' is a SPICE built in primitive. It cannot be configured to another view like 'External HDL' via Cadence Hierarchy Editor. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    There's no reason why you can't use a vcvs in an AMS simulation (I just tried it and it works fine). It sounds as if you have got some strange binding in the Hierarchy Editor for the vcvs - what do you have the vcvs set to have it's "view to use" (either in the cell table or the instance tree in the hierarchy editor)? Also, just in case it matters, what do you have your Simulation->Netlist and Run options set to in ADE (i.e which netlister; is it UNL, OSS or CellView-Based?)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mhkvy4
    mhkvy4 over 7 years ago in reply to Andrew Beckett

    I set the view to use explicitly as spectre in the instance tree view but the editor did find the spectre view for all the elements from analoglib. For the netlist and run options I have selected AMS UNL netlister with xrun ( I thought that was the recommended option to choose). Right now I am having a different error. I am not able to plot voltage signals in a transient analysis and it says " it doesn't evaluate to an object that can be plotted, like a waveform or a parametric wave".  Below is a the schematic capture. The switch and the decoder are both verilog ams instances..

    I opened the psf in the results browser and am trying to see if any of the signals are saved but nothing seems to be plotted vs. time. For example the vpulse instance above( connected to ben net)  has a voltage signal but when I open it up, it plots 5V against some axis labelled Design_Point. 

    I know I am setting something wrong in my simulation that it gives an error that doesn't allow to plot signals. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to mhkvy4

    Some questions:

    1. Which IC subversion are you using (Help->About in any of the windows will tell you)?
    2. Which simulator version (the Incisive/Xcelium version - I assume it must be Xcelium since you mention run) - this will be at the top of the xrun.log file
    3. Did you ask to save the signals - the default in AMS is not to save all voltages
    4. Can you post a picture of the results browser and the plot you're getting? I'd like to see what the signals look like in the results browser

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mhkvy4
    mhkvy4 over 7 years ago in reply to Andrew Beckett

    1) I am using 6.1.7

    2) I am using the Xcelium version (side question has the incisive platform been renamed or is this an upgraded version but standalone?) 64bit.

    3) I have checked the boxes in my output setups  window in assembler and explorer to save and plot the signals I selected in the config view. Is there another form where I should check a box to save the signals?

    4) below is the signal for the ben signals which should be a a pulse going from 0 to 5 with delay time of 100n, rise and fall time as 10n, pulse width 1s and period of 2s. The simulation is run for 500ns. 

    I selected the tranOp folder in the psf directory and then selected instanced V49 which is the pulse wave source above. There is I, PWR, V signal but no ben net signal. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to mhkvy4

    A few points (corresponding to your points):

    1. This is the major version rather than the subversion - it should IC6.1.7-64B.500.NN or something like that
    2. This also is not the version number - that's just telling you that it's the 64bit executable. XCELIUM is the next generation digital simulation engine which is the successor to INCISIVE
    3. Maybe - depends on which boxes you're talking about
    4. You're looking at the transient operating point results - which is just the operating point values at the end of the simulation. You should be looking in the tran results to see the transient waveforms. The tranOp will just be a single value per simulation run.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mhkvy4
    mhkvy4 over 7 years ago in reply to Andrew Beckett

    1)oh ok, it is 6.1.7-64b.500.20

    2) xcelium 17.04-s006

    3) These are the output signals selected in ade explorer from outputs>to be plotted> select on design and then selecting the nets/signals I want to plot. I checked both the plot and save boxes.

    4) the tran folder seems to be empty so I must be not saving the signals

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to mhkvy4

    I think this would be best solved by contacting customer support. I think we'll need to have a web screen-sharing session to see what's going on. Can you do that? Trying to guess possible failure mechanisms is pretty hard...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mhkvy4
    mhkvy4 over 7 years ago in reply to Andrew Beckett

    Hey Andrew,

    Just to let you know that I fixed the issue. I changed the names of the input pins/nets and removed the underscores. When I simulated again using ams I could now see waveforms ( for even the ben signal connected to the vpulse). Don't know why the naming change made it identify all the signals in the setup as ones which can be plotted. Thanks for your help.

    BTW is there a good RAK for Simvision?  I know there is one for VIVA. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to mhkvy4

    I don't know of a specific RAK on SimVision. It's mentioned in a few (you could search the RAKs for the keyword "simvision" on support.cadence.com - e.g. https://support.cadence.com/apex/articleattachmentportal?id=a1Od00000066P4bEAE&pageName=ArticleContent&attachId=069d0000003IHEBAA4&sq=005d0000001T3WNAA0_201872519558746 )

    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