how to simulate my circuit with my subckt.

Status
Not open for further replies.

pankaj jha

Full Member level 3
Joined
Apr 16, 2010
Messages
170
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
jaipur
Activity points
2,457
my code is....




.subckt MolecularDiode pos neg
Gdiode pos negtest PWL(1) pos
+ neg 0,0 .08,100e-09 .16,200e-09 .25,300e-09 .32,400e-09 .4,500e-09 .52,600e-09 .55,700e-09
+ .65,800e-09 .7,700e-09 .75,200e-09 .78,100e-09 .8,0
+ .9, 0 1,0 1.2,0 1.5,0

Rtest negtest neg 0.1
.ends

VDD 1 0 DC 3V

*VX 5 0 DC 0V
r1 5 0 0.1

X1 1 2 MolecularDiode
X2 1 4 MolecularDiode
X3 1 7 MolecularDiode
X4 2 3 MolecularDiode
X5 2 4 MolecularDiode
X6 4 3 MolecularDiode
X7 4 5 MolecularDiode
X8 4 6 MolecularDiode
X9 7 6 MolecularDiode
X10 7 4 MolecularDiode
X11 3 5 MolecularDiode
X12 6 5 MolecularDiode

.op
.probe I(r1)
.OPTION GDCPATH
.option post
.end
 

If you would answer the questions I asked in your other posts you might make some progress. Instead you just ignore then and create a new problem.

Over to someone else I think!

Keith
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…