Web data books

Further information

Each cell has a Spice deck

The schematic spice deck uses estimates for the diffusion areas and perimeters and has no fixed parasitic capacitances. Parallel transistors are merged together. The Alliance extracted spice deck also uses an estimate for the diffusion areas and perimeters, and the fixed parasitic capacitance only considers area and not sidewall. All capacitances are lumped to ground. The transistor length is the value that will appear in the CIF file, which for this technology is different to the one that should appear in the spice deck (0.12µm instead of 0.13µm).

The spice deck extracted from Magic also has limitations which means that lambda values for the transistors have to be extracted and a scaling has to be applied during Spice simulation. This is done with a .OPTIONS card:

.OPTIONS scale=0.055

Resistance should be extracted and this should be possible with Magic but I have not succeeded so far.

The fixed parasitic capacitances extracted by Alliance and Magic can be compared by lumping them all to ground.

            a      b      z     n1
Magic     0.344  0.301  0.506  0.611
Alliance  0.468  0.438  0.821  0.487

Example of Spice deck written from Xcircuit and modified by a script to enclose the transistors in a subcircuit. The P transistor width is 40λ which becomes 2.2µm when multiplied by λ=0.055µm.

* Sat Mar 31 18:48:37 CEST 2007
.subckt nd2v5x3 a b vdd vss z
*SPICE circuit  from XCircuit v3.4 rev 26
m1 n1 a vss vss n w=26u l=2u ad='26u*5u+12p' as='26u*5u+12p' pd='26u*2+14u' ps='26u*2+14u'
m2  z a vdd vdd p w=40u l=2u ad='40u*5u+12p' as='40u*5u+12p' pd='40u*2+14u' ps='40u*2+14u'
m3  z b  n1 vss n w=26u l=2u ad='26u*5u+12p' as='26u*5u+12p' pd='26u*2+14u' ps='26u*2+14u'
m4  z b vdd vdd p w=40u l=2u ad='40u*5u+12p' as='40u*5u+12p' pd='40u*2+14u' ps='40u*2+14u'
.ends

Example of Spice deck extracted from Alliance. Note the incorrect channel length.

* Spice description of nd2v5x3
* Spice driver version 134999461
* Date 17/05/2007 at  9:21:02
* vsclib 0.13um values
.subckt nd2v5x3 a b vdd vss z
M01 vdd   a     z     vdd p  L=0.12U  W=1.1U   AS=0.2915P   AD=0.2915P   PS=2.73U   PD=2.73U
M02 z     b     vdd   vdd p  L=0.12U  W=1.1U   AS=0.2915P   AD=0.2915P   PS=2.73U   PD=2.73U
M03 z     b     n1    vss n  L=0.12U  W=0.715U AS=0.189475P AD=0.189475P PS=1.96U   PD=1.96U
M04 n1    a     vss   vss n  L=0.12U  W=0.715U AS=0.189475P AD=0.189475P PS=1.96U   PD=1.96U
M05 z     a     vdd   vdd p  L=0.12U  W=1.1U   AS=0.2915P   AD=0.2915P   PS=2.73U   PD=2.73U
M06 vdd   b     z     vdd p  L=0.12U  W=1.1U   AS=0.2915P   AD=0.2915P   PS=2.73U   PD=2.73U
M07 n1    b     z     vss n  L=0.12U  W=0.715U AS=0.189475P AD=0.189475P PS=1.96U   PD=1.96U
M08 vss   a     n1    vss n  L=0.12U  W=0.715U AS=0.189475P AD=0.189475P PS=1.96U   PD=1.96U
C5  a     vss   0.468f
C4  b     vss   0.438f
C1  n1    vss   0.487f
C2  z     vss   0.821f
.ends

Example of Spice deck extracted from Magic after modification by a script. The channel length of 2.3636µm is multiplied by λ=0.055 to give the simulated value of 0.13µm.

.subckt nd2v5x3 a b vdd vss z
*   SPICE3 file   created from nd2v5x3.ext -      technology: scmos
m00 z      b      vdd    vdd p w=20u  l=2.3636u ad=80p      pd=28u      as=120p     ps=42u
m01 vdd    b      z      vdd p w=20u  l=2.3636u ad=120p     pd=42u      as=80p      ps=28u
m02 z      a      vdd    vdd p w=20u  l=2.3636u ad=80p      pd=28u      as=120p     ps=42u
m03 vdd    a      z      vdd p w=20u  l=2.3636u ad=120p     pd=42u      as=80p      ps=28u
m04 z      b      n1     vss n w=13u  l=2.3636u ad=52p      pd=21u      as=64.5p    ps=30.5u
m05 n1     b      z      vss n w=13u  l=2.3636u ad=64.5p    pd=30.5u    as=52p      ps=21u
m06 vss    a      n1     vss n w=13u  l=2.3636u ad=52p      pd=21u      as=64.5p    ps=30.5u
m07 n1     a      vss    vss n w=13u  l=2.3636u ad=64.5p    pd=30.5u    as=52p      ps=21u
C0  n1     z      0.135f
C1  vss    a      0.025f
C2  n1     b      0.033f
C3  z      a      0.056f
C5  a      b      0.089f
C6  z      vdd    0.187f
C7  b      vdd    0.020f
C8  vss    z      0.035f
C9  n1     a      0.109f
C10 vss    b      0.025f
C11 z      b      0.089f
C12 n1     vdd    0.029f
C13 a      vdd    0.031f
C14 vss    n1     0.295f
C16 z      vss    0.004f
C17 a      vss    0.034f
C18 b      vss    0.045f
.ends