• 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. PSPICE model simulating in cadence virtuoso

Stats

  • Locked Locked
  • Replies 19
  • Subscribers 125
  • Views 26166
  • 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

PSPICE model simulating in cadence virtuoso

robert 21
robert 21 over 4 years ago

Hello,After working for a long time in cadence virtuoso ,I got a task of implementing a circuit on PSPICE.
Its like going to the STONE age.

My cadence virtuoso is on linux server ,my SPICE model of MbreakN is

.model Mbreakn NMOS VTO=1 LAMBDA=0.025 KP=0.05m W=2.5u L=0.25u

How can i create a SPICE model from the cadence virtuoso menu?
Thanks.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    As is covered in numerous posts on this forum, if you want to use a PSPICE model, then you can use (in ADE) Setup->Simulation Files->PSPICE files and specify the file containing the model above. Then in the schematic, you could just place an analogLib/nmos4 and specify the model name as Mbreakn.

    However, you said "How can I create a SPICE model from the cadence virtuoso menu". I don't really know what you mean by "create" here. Please clarify (perhaps you mean use rather than create?)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    As is covered in numerous posts on this forum, if you want to use a PSPICE model, then you can use (in ADE) Setup->Simulation Files->PSPICE files and specify the file containing the model above. Then in the schematic, you could just place an analogLib/nmos4 and specify the model name as Mbreakn.

    However, you said "How can I create a SPICE model from the cadence virtuoso menu". I don't really know what you mean by "create" here. Please clarify (perhaps you mean use rather than create?)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • robert 21
    robert 21 over 4 years ago in reply to Andrew Beckett

    Hello Andrew,

    my spice for NMOS is as follows

    .model Mbreakn NMOS VTO=1 LAMBDA=0.025 KP=0.05m W=2.5u L=0.25u
    I have tried to do the following steps,but i dont know what to do with the pins of the circuit

    Were is the drain,source,gate in there?

    Thanks.




      s

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to robert 21

    Creating a PSPICE view doesn't make any sense here, since that's really for SUBCKT models, and this is not a SUBCKT model - it's a direct .MODEL card.

    So use the approach I suggested - it's similar to how spectre models are done (you can of course create your own transistor symbol, but probably simplest to start by copying the nmos4/pmos4 with all the views, and you can always change the CDF in the copy to have the model name specified by default in your copy.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • robert 21
    robert 21 over 4 years ago in reply to Andrew Beckett

    Hello Andrew,I have copied NMOS4 from analoglib as shown bellow,but where do i put my  line?

    .model Mbreakn NMOS VTO=1 LAMBDA=0.025 KP=0.05m W=2.5u L=0.25u
    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to robert 21

    Put it in a text file somewhere (it doesn't live within the libraries), e.g. with a ".psp" or ".ckt" suffix (it really doesn't matter, but I wouldn't use .scs) and then reference it from (as I keep saying) from Setup->Simulation Files->PSPICE files in ADE. Spectre model files also don't live in the libraries - it's similar in that respect to how spectre model files are usually referenced (they are normally referenced via Setup->Model Libraries).

    This really is not that complicated...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • robert 21
    robert 21 over 4 years ago in reply to Andrew Beckett

    Hello Andrew ,I have created the following file shown bellow .

    I tried to look for the SETUP in library manager and in schematics ,and in the starting window which rises after virtuoso command

    Were is it located vissualy?

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to robert 21

    I give up. Why do you keep doing something different from what I'm telling you to do?

    You've now added another line into the file with an instance of a transistor. Why? You posted earlier on something about needing to specify the "leg" order (you don't - MOS models are defined to be D G S B, and the CDF for the component ensures that the netlist is produced in that order). You then deleted that post so I couldn't answer.

    I keep telling you that you reference this file in the Analog Design Environment. It's NOT in the library manager, or from the "starting window" (CIW).

    Just to reiterate the same thing (again), it's here:

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • robert 21
    robert 21 over 4 years ago in reply to Andrew Beckett

    Hello Andrew,I have added the path of the PSPICE file like you said in the ADE explorer.

    "simplest to start by copying the nmos4/pmos4 with all the views, and you can always change the CDF in the copy to have the model name specified by default in your copy"

    I have copied the NMOS4 fileas shown bellow in the printscreen.

    how i connect the .ckt file with this  symbol?

    If i understood you correctly.

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to robert 21

    As I said in my very first reply:

    Andrew Beckett said:
    specify the model name as Mbreakn

    If you want this to be done by default for each instance of the transistor, you'll need (as I also said before) to edit the CDF for the component. I was assuming (since it's quite key to the use of Virtuoso) that you knew how to do that or could read the documentation to figure out how if you didn't. Or maybe read one of the many posts on this forum. Failing that, here's a step-by-step guide:

    1. Go to Tools->CDF->Edit in the CIW
    2. Ensure that the "CDF Layer" is set to "Base" (otherwise it doesn't get saved on disk)
    3. Fill in Library Nanaame as neww (your library name)
    4. Fill in Cell Name as nmos4 (your component name)
    5. Find the row in the Component Parameter tab with "model" as the Name. Click on that row
    6. In the box at the bottom of the form labelled Default Value enter Mbreakn (your model name)
    7. Press OK on the form

    I didn't think it was necessary to show screenshots of all of this, hopefully it's clear enough this time.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • robert 21
    robert 21 over 4 years ago in reply to Andrew Beckett

    Hello Andrew, to my defence i showed an attempt to create PSPICE file,you said its the wrong way :-)

    regarding your steps

    I have updated the model to be Mbreakn as you said and shown bellow.
    Also Ifilled the form as you showed,except one thing,which is the File name section.

    DO i need to specify the filename as shown in the form?
    If yes then do i need to press also load save or CDF dump?

    How Cadence will know from where to take the Mbreakn model?

    Thanks.

      

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to robert 21

    Dear robert21,

    robert 21 said:
    DO i need to specify the filename as shown in the form?
    If yes then do i need to press also load save or CDF dump?

    Did you happen to read Andrew's first comment to you where he stated:

    Andrew Beckett said:

    if you want to use a PSPICE model, then you can use (in ADE) Setup->Simulation Files->PSPICE files and specify the file containing the model above. Then in the schematic, you could just place an analogLib/nmos4 and specify the model name as Mbreakn.

    However, you said "How can I create a SPICE model from the cadence virtuoso menu". I don't really know what you mean by

    The path to the filename containing the model is placed in the Simulation Files GUI under the PSPICE heading. If you hit the "Help" button on the CDF form you shown, it will cldarly indicate what the function of the "File Name" entry is. I include my copy below. I think you should consider exploring the "Help" button as it covers all the questions I think you asked.

    Shawn

    • 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