• 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 SKILL
  3. Cadence IC5.1.41 Current probing

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 15199
  • 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

Cadence IC5.1.41 Current probing

ag2888
ag2888 over 11 years ago

Hi,

 I have a query wrt the probing currents in cadence.

To probe the current i click on the pin (device or Instance symbol) , which shows a circle around it. The problem that i am facing is that this works perfectly when my simulator is Spectre.

But when my simulator is hspice probing a device pin gives a warning :

 Element xpm1 in print, plot, probe or measure statements is invalid. Output is ignored.

And the currents are not plotted.

I am trying to probe the drain currents of PMOS in a simple current mirror circuit.

When i check the netlist created for hspice, there exists a definition for xpm1 and the probe statement for it is I1(xpm1). For the same simulation i am able to plot the transient node voltages as well current at the plus terminal of an ideal current source or a instance symbol pin.

 

Another difference that i noticed between the two input files (.scs and .ckt) is that:

In input.ckt (hspice) : the devices are defined as XPM or XNM instead of MPM or MNM

In input.scs (spectre) : the devices are defined as PM or NM.

The model files for both spectre and hspice contain the definition of mosfets as subckt.. 

 

Could anyone please suggest what could be the reason for this? 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Spectre doesn't use the initial character of the instance name to determine the type of the component; it simply uses the name of the thing instantiated and that can be a subckt, a veriloga model, a model or a built-in primitive - the syntax is the same. With HSPICE (like other SPICE simulators), the initial character determines whether it is a mosfet (M), a bipolar (Q), resistor (R) or subckt (X) amongst others. So it has to be netlisted differently for hspice than for spectre.

    That said, I'm not sure the syntax for measuring the terminal current for a subckt instance in HSPICE. Whatever it is, it's controlled via the termMapping in the hspiceD simulation information in the CDF for the component in question.

    You probably should talk to whoever provided the PDK; maybe something needs fixing?

    Regards,

    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