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.

[SOLVED] [HSpice] Definition of model/subckt ... is not found for the element ...

Status
Not open for further replies.

EEPuppyPuppy

Junior Member level 3
Joined
Jun 14, 2018
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
343
I was trying to use the code below to simulate a circuit in HSpice but it looks like HSpice cannot find those models. .lis file reports that:
'Definition of model/subckt "pch.25" is not found for the element "mp1" . Please specify a defined model/subckt name...'

The library file called 'crn65gplus_2d5_lk_v1d0.l' is a very long and complex file. In the library MOS, there are so many sections. The MOS library starts from line 12139 if you open the library file from Sublime Text.There are even some subckt which contains lots of models which I feel might be the reason I got the error.

Another thing makes me very confused is that there are two placed define 'pch.1' and two place for 'nch.1'. Take 'nch.1' as an example. The first 'nch.1' is in a subckt (line 12171), the second does not (line 22272).

I uploaded the model library file into the following link due to the reason that edaboard.com does not allow me to upload it. It s in this link: https://files.fm/u/3y7z842w. Sorry for any inconvinience.

Could anyone help me, please? I really need and appreciate your help.

Code:
*Single CMOS Schimitt trigger circuit
.LIB '/home/icsrl/TECHNOLOGY/FROM_MOSIS/TSMC/65nm/PDK/CRN65GP/models/hspice/crn65gplus_2d5_lk_v1d0.l' MOS
vdd 6 0 DC 1V
vin 2 0 PULSE (0 1 0n 0.4n 0.4n 14.6n 30n)

*Schimitt trigger circuit
mp1 5 4 6 6 pch.1 W=60u L=15u 
mp2 3 2 5 6 pch.1 W=60u L=15u
mp3 4 3 5 6 pch.1 W=60u L=15u
mn1 1 4 0 0 nch.1 W=15u L=15u
mn2 3 2 1 0 nch.1 W=15u L=15u
mn3 4 3 1 0 nch.1 W=15u L=15u

.TRAN 0.01ns 60ns
.option post=1 
.PROBE V(2) V(4)
.END
 

Attachments

  • crn65gplus_2d5_lk_v1d0.zip
    1.8 MB · Views: 108

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top