Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Nand gate using bsim-cmg

Status
Not open for further replies.

neku

Newbie level 1
Joined
Jul 15, 2019
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
i'm new to hspice and trying to simulate nand2 gate using bsim-cmg.
here's my code:

Code:
*Sample netlist for BSIM-MG 

*nand
.option abstol=1e-6 reltol=1e-6 post ingold


.hdl "bsimcmg.va"

.include "modelcard.nmos"

.include "modelcard.pmos"

but i'm getting this error:

**error** model name pmos1 in the element 0:m1 is not defined.

**error** model name nmos1 in the element 0:m3 is not defined.

**error** model name nmos1 in the element 0:m4 is not defined.


* --- Voltage Sources ---

vdd supply 0 dc=1.0

va a 0 dc=0.5 AC=0,0 PULSE(0 0.5 0n 0.1n 0.1n 5n 10n)

vb b 0 dc=0.5 AC=0,0 PULSE(0 0.5 0n 0.1n 0.1n 5n 10n)

M1 out a supply b pmos1 TFIN=15n L=34n NFIN=2 ASEO=1.5e-14 ADEO=1.5e-14 NRS=1 NRD=1

M3 out b mid1 b nmos1 TFIN=15n L=34n NFIN=2 ASEO=1.5e-14 ADEO=1.5e-14 NRS=1 NRD=1

M4 mid1 a 0 a nmos1 TFIN=15n L=34n NFIN=2 ASEO=1.5e-14 ADEO=1.5e-14 NRS=1 NRD=1

* --- Transient Analysis ---

.tran 10n 50n

.print tran v(a) v(b) v(out)

.end
 

**error** model name pmos1 in the element 0:m1 is not defined.

**error** model name nmos1 in the element 0:m3 is not defined.

**error** model name nmos1 in the element 0:m4 is not defined.

Either hspice didn't find the .include "modelcard.xmos" modelcards, or
these modelcards do not contain the therein used nmos1 respectively pmos1 models.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top