using "ideal" diode model in spectre

Status
Not open for further replies.

drabos

Full Member level 6
Joined
Jan 3, 2006
Messages
397
Helped
45
Reputation
90
Reaction score
15
Trophy points
1,298
Activity points
3,768
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?
 

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
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?
 

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
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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…