• 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. ERROR (SFE-23): "input.scs" 14: N0 is an instance of an...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 6202
  • 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

ERROR (SFE-23): "input.scs" 14: N0 is an instance of an undefined model nmos. Tried by adding simulator lang=spice in the first line of the model file

saikishore
saikishore over 9 years ago

Hello everyone, 

I am new to cadence I am trying to simulate a basic inverter circuit using spectre but I am getting this error

ERROR (SFE-23): "input.scs" 14: N0 is an instance of an undefined model nmos. I saw several posts regarding the same problem I but none of those posts helped me, I already attached a model library file to it which is in spice format with extension .m and also tried by adding simulator lang=spice in the first line of the model file but I am getting the same error. I also tried by changing the extension to .scs and changing lang=spectre, however, I am getting a new error after this step. previously I did a simulation with tsmc13rf technology and model file written in spectre which worked perfect but I don't know why it was not working when I am trying to simulate spice model files (I got these from NSCU CDK beta version ) 

I am also attaching my netlist file and few lines of model library which I am using 

simulator lang=spice
.model NMOS_VTL nmos level = 54
+binunit = 1 paramchk= 1 mobmod = 0
+capmod = 2 igcmod = 1 igbmod = 1 geomod = 1

// Generated for: spectre
// Generated on: May 9 11:24:37 2016
// Design library name: test
// Design cell name: invertor_tb
// Design view name: schematic
simulator lang=spectre
global 0 vdd!
include "/home/kishore/ncsu-cdk-1.6.0.beta/models/spectre/standalone/ami06N.m"
include "/home/kishore/ncsu-cdk-1.6.0.beta/models/spectre/standalone/ami06P.m"

// Library name: test
// Cell name: invertor
// View name: schematic
subckt invertor A out
N0 (out A 0 0) nmos w=6u l=600n m=1 region=sat
P0 (out A vdd! vdd!) pmos w=12u l=600n m=1 region=sat
ends invertor
// End of subcircuit definition.

// Library name: test
// Cell name: invertor_tb
// View name: schematic
I0 (A out) invertor
V0 (vdd! 0) vsource type=dc dc=1.2
V1 (A 0) vsource type=pwl delay=5.1n wave=[ 0 0 5n 0 ] noisefile="5"
C0 (out 0) capacitor c=1f m=1
simulatorOptions options reltol=1e-3 vabstol=1e-6 iabstol=1e-12 temp=27 \
tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 maxnotes=5 maxwarns=5 \
digits=5 cols=80 pivrel=1e-3 sensfile="../psf/sens.output" \
checklimitdest=psf
tran tran stop=10n write="spectre.ic" writefinal="spectre.fc" \
annotate=status maxiters=5
finalTimeOP info what=oppoint where=rawfile
modelParameter info what=models where=rawfile
element info what=inst where=rawfile
outputParameter info what=output where=rawfile
designParamVals info what=parameters where=rawfile
primitives info what=primitives where=rawfile
subckts info what=subckts where=rawfile
saveOptions options save=allpub

Best regards,

kishore.

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

    Your model file defines a model called NMOS_VTL but your transistor instance is referring to a model called "nmos". That's why it doesn't work (the message is very clear...)

    Andrew.

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

    Your model file defines a model called NMOS_VTL but your transistor instance is referring to a model called "nmos". That's why it doesn't work (the message is very clear...)

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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