Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4915

Creating and editing models

$
0
0

Hi Friends

I needed an LM565 to simulate, but unfortunately, the software did not have that LM565, and I accidentally saw this code on the Internet!
But I do not know how to give this code to the software!

The code is available in the following file

community.cadence.com/.../SUBCIRCUIT.pdf

I have another problem and that I do not know what the format code is ?! And that when I copied this code from this PDF I had to change it. Can you help me and tell me if the code in the file above is the same as the code I wrote below or not ?!

Thank You

code:

.SUBCKT LM565 1 2 3 4 5 6 7 8 9 10
C_C1 0 init 1u
R_R3 $N_0001 6 1.75k
R_R4 0 init 1g
R_R6 8 9 10g
R_R2 3 0 10g
R_R1 $N_0002 7 3.6k
E_E15 $N_0002 0 VALUE { V($N_0003, 0)+V(6,0) }
E_E1 $N_0003 0 TABLE { 0.68*V(2, 0)*V(5,0) } + ( (-0.68,-0.68) (0.68,0.68) )
G_G1 init 0 VALUE { (V(7,0)-V(6,0))*0.00001458/(R0*C0*(V(10,0)-V(1,0))) }
E_E13 4 0 VALUE {sin(6.28*(0.27/(R0*C0))*(time+(R0*C0/(6.28*0.27))*V(0,init))) }
E_E3 $N_0001 0 VALUE {0.126354*(0.7+V(1,0))+0.873646*V(10,0) }
.ENDS

Viewing all articles
Browse latest Browse all 4915

Trending Articles