• 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. PSpice
  3. How to assign different values to various components in...

Stats

  • State Verified Answer
  • Replies 4
  • Subscribers 26
  • Views 5191
  • Members are here 0
More Content

How to assign different values to various components in Pspice

MujikaJulen
MujikaJulen over 1 year ago

Hey there! I'm curently working on converting a project from LTspice to Pspice. The problem is that I need to assign different values to a capacitor and resistor depending on the value of a variable "n". In LTspice I can use the command "TABLE" like in the shared photo. Does someone know how to make this work in Pspice too?

When n=0 -> Cload=8pF & Rload=750k

When n=1 -> Cload=290n & Rload= 1.3

...

  • Sign in to reply
  • Cancel
  • retiredEE
    +1 retiredEE over 1 year ago

    Use the TABLE function in an expression for the components value.  The parameter "n" can be used as an index into the tabulated list as is done in LTspice.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • MujikaJulen
    0 MujikaJulen over 1 year ago in reply to retiredEE

    But like using the TABLE part or do you mean there is a written way to code it?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • retiredEE
    +1 retiredEE over 1 year ago in reply to MujikaJulen

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • MujikaJulen
    0 MujikaJulen over 1 year ago in reply to retiredEE

    Thanks a lot!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

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