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.

using "ideal" diode model in spectre

Status
Not open for further replies.

drabos

Full Member level 6
Joined
Jan 3, 2006
Messages
399
Helped
45
Reputation
90
Reaction score
15
Trophy points
1,298
Activity points
3,754
spectre diode model

I want to use the following model in spectre:

model diode D is=1.8e5 rs=1.43 n=1.22

I have saved it as diode.m and I linked it to the analogLib/diode model. But it doesn't work. I can't understand why.:-(
Could anybody tell me what is the worng with it?
 

wjlzhx

Member level 5
Joined
Apr 14, 2005
Messages
82
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
1,785
diode spectre model

If you use spectre ,you should save it as diode.scs
write as this
lib dio
section d
model diode D is=1.8e5 rs=1.43 n=1.22
endsection
endl

if you use spcetres ,you can save it as diode.m
 

    drabos

    Points: 2
    Helpful Answer Positive Rating

drabos

Full Member level 6
Joined
Jan 3, 2006
Messages
399
Helped
45
Reputation
90
Reaction score
15
Trophy points
1,298
Activity points
3,754
diode model spectre

Unfourtonately, it doesn't work:-(.
I use Spectre. I copied what you wrote and after it I saved it as diode.scs. I have linked this file to the diode in the schematic.
What fault do I make?
 

leg1234

Member level 2
Joined
Dec 4, 2006
Messages
46
Helped
11
Reputation
22
Reaction score
3
Trophy points
1,288
Activity points
1,583
analoglib diode

Put this and save as a file. (xxxxx.m)

model D_name D is=1.8e5 rs=1.43 n=1.22

in schematic put D_name as the model name.
add the .m file in your simulation lib.
analog enviroment-> setip-> model library.
 

    drabos

    Points: 2
    Helpful Answer Positive Rating

drabos

Full Member level 6
Joined
Jan 3, 2006
Messages
399
Helped
45
Reputation
90
Reaction score
15
Trophy points
1,298
Activity points
3,754
model diode specter

The simulator said me, that : to avoid possible problems from scale factor differences, do not use the native format "model d_name d ..." statements when in the Spice extension input mode. Use the Spice ".model" form instead.

So, the good result (if the extension is .m).

.model D_name ....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top