• 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. Issue with Level=3 MOS model in Spectre

Stats

  • Replies 16
  • Subscribers 126
  • Views 2969
  • Members are here 0

Issue with Level=3 MOS model in Spectre

milind123
milind123 3 months ago

Hi, 

    I am trying to simulate the FET model that I downloaded from the manufacturer. I have always been able to use Spice models by using the statement:

simulator lang=spice

before the model. But this time it complained on a statement:

B11 3 2 I= V(13,0)*I(V11)

It said that the master was unknown. After struggling a bit I decided to just write the model subckt as spectre syntax. I did that. For 2 .model statements inside I just put the "simulator lang=spice" statement before them and then

"simulator lang=spectre" after them

This helped the simulation to run but the FET characteristics are totally off. I know the model is fine since I simulated it in Spice. The FET characteristic is totally set by the nmos .model defined in the subcircuit. The model is a level=3 model and now I am considering whether I need to translate the model to Spectre. But I am not able to find how to translate a level=3 spice model to spectre because don't know what master name to use in the model statement.

Any guidance in this would be greatly appreciated.

  • Sign in to reply
  • Cancel
Parents
  • milind123
    milind123 3 months ago

    I am using an external SPICE model and the model defines a voltage dependent capacitor as follows:

    C11 11 12 1E-12
    V11 11 0 0Vdc
    B11 3 2 I= V(13,0)*I(V11)
    E11 12 0 3 2 1
    E12 13 0 VCVS PWL(1) 12 0 -20.0,287.92 .......

    When I run this Spice model in Spectre with the statement simulator lang=spice I get the following error:

     The instance `B11' does not have a valid master.

    From the Spectre User Guide Spice compatibility section it does say that it supports SPICE behavioral sources. Why then it cannot recognize this behavioral source?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 3 months ago in reply to milind123

    I'm not sure which version of Spectre you're using, but in SPECTRE23.1 at least it fails with a different error for me, indicating that the "B" line is modelled as an IBIS source and the IBIS file is missing. From my checks, the "B" prefix is for IBIS sources in other SPICE simulators too so we have followed that when using SPICE syntax.

    If you want this to be a behavioural current source, change B11 to I11 and that should do it.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 3 months ago in reply to milind123

    I'm not sure which version of Spectre you're using, but in SPECTRE23.1 at least it fails with a different error for me, indicating that the "B" line is modelled as an IBIS source and the IBIS file is missing. From my checks, the "B" prefix is for IBIS sources in other SPICE simulators too so we have followed that when using SPICE syntax.

    If you want this to be a behavioural current source, change B11 to I11 and that should do it.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • milind123
    milind123 3 months ago in reply to Andrew Beckett

    Sorry for the incomplete information. I am using quite an old version of Spectre:

    Version 15.1.0.803.isr18 64bit

    After I change it to I11 it does simulate but the MOS characteristic is totally off. The drain current is orders of magnitude lower so it may be something related to the model. The model I am using is this:

    https://assets.nexperia.com/documents/spice-model/PSMN8R5-40MSD.lib

    Note however I did have to change the E12 definition from:

    E12 13 0 TABLE {V(12)}
    + (-20.0,287.92) .....

    to

    E12 13 0 VCVS PWL(1) 12 0 -20.0,287.92 .....

    to make it work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • milind123
    milind123 3 months ago in reply to Andrew Beckett

    Using Spectre version:

    Version 15.1.0.803.isr18 64bit -- 21 Jun 2017

    The SPICE model I am using is of PSMN8R5-40MSD from the nexperia website

    It did work after changing B11 to I11 but the MOS characteristics are order of magnitude off. So somehow the model is not being interpreted correctly.

    Note that I also had to change the E12 definition from TABLE to PWL to make it work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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