chemaphy
Junior Member level 2
Hello,
I am having a resistor SPICE script that is provided by a manufacturer. The SPICE script begins with .subckt keyword. My question is how can I create my own resistor in Cadence Schematics so that the resistor that I create can reference to that resistor SPICE script. I would appreciate your help if anyone of you can provide me some brief description on how i can set up my own resistor.
Thank you very much for your time,
chemaphy
The following is the resistor SPICE script that I am given:
.subckt rlrrf plus minus psub w=2e-6 l=10e-6 strips=1
.param cterm = 0.1013e-3
.param lterm = 0.84e-6
.param rterm = 29.39
.param width = w
.param ns = strips
.param length = 'l/ns'
.param dw = 0.25e-06
.param rhoply = 72.0
.param coxp = '0.1013e-3*coxpf'
.param tc_S1 = 18.0e-04
.param res = 'ns*((rhoply*length)/(width-dw)+rterm*1e-6/(width-dw))'
.param cfox = 'ns*(coxp*(length)*(width-dw))'
.param ccnt = 'ns*cterm*lterm*(width-dw)'
r1 plus 1 'res/2' tc1=tc_S1
r2 1 minus 'res/2' tc1=tc_S1
c1 plus psub 'ccnt'
c2 1 psub 'cfox'
c3 minus psub 'ccnt'
.ends rlrrf
I am having a resistor SPICE script that is provided by a manufacturer. The SPICE script begins with .subckt keyword. My question is how can I create my own resistor in Cadence Schematics so that the resistor that I create can reference to that resistor SPICE script. I would appreciate your help if anyone of you can provide me some brief description on how i can set up my own resistor.
Thank you very much for your time,
chemaphy
The following is the resistor SPICE script that I am given:
.subckt rlrrf plus minus psub w=2e-6 l=10e-6 strips=1
.param cterm = 0.1013e-3
.param lterm = 0.84e-6
.param rterm = 29.39
.param width = w
.param ns = strips
.param length = 'l/ns'
.param dw = 0.25e-06
.param rhoply = 72.0
.param coxp = '0.1013e-3*coxpf'
.param tc_S1 = 18.0e-04
.param res = 'ns*((rhoply*length)/(width-dw)+rterm*1e-6/(width-dw))'
.param cfox = 'ns*(coxp*(length)*(width-dw))'
.param ccnt = 'ns*cterm*lterm*(width-dw)'
r1 plus 1 'res/2' tc1=tc_S1
r2 1 minus 'res/2' tc1=tc_S1
c1 plus psub 'ccnt'
c2 1 psub 'cfox'
c3 minus psub 'ccnt'
.ends rlrrf