EE241: Advanced Digital Integrated Circuits

HSPICE Tips

 

 


 

                            MN1    vd vg vs gnd  NMOS  L=0.5u W=10u  AD=5p AS=5p PD=11u PS=11u

                            MN1    vd vg vs gnd  NMOS  L=0.5u W=10u

                    GEO = 0    indicates the drain and source of the device are not shared with other devices. (default)

                    GEO = 1    indicates the drain of the device is shared with another device.

                    GEO = 2    indicates the source of the device is shared with another device.

                    GEO = 3    indicates the drain and source of the device are both shared with other devices.

                            MN1    out A mid gnd  NMOS  L=0.5u W=2u  GEO=2

                            MN2    mid B gnd gnd  NMOS  L=0.5u W=2u  GEO=1


            Under given bias condition, HSPICE is able to tell certain device operation parameters. This is done through the so-called "Element Template Output". For example, suppose our input file contains one NMOS FET, something like this,

                            MN1    vd vg vs gnd  NMOS  L=0.5u W=10u

            Then the following statement asks HSPICE to plot the small-signal transconductance of this transistor,

                            .probe gm_of_mn1=GMO(MN1)

            A continuous plot of gm as a function of some input variable (for example, gate voltage) can be generated by sweeping that variable. It is always insightful to compare the results obtained from extrapolation and those from HSPICE template output.

              To learn more about "Element Template Output" format, refer to HSPICE manual Chapter 4.


 

            We use precomputed model parameters to define the U element of lossy transmission lines in HSPICE. It looks like the following,

                            utl        in  0  out  0   tline   l=10m

                            .model    tline    u  level=3  plev=2  elev=2  R11=100  L11=0.2u  CR1=0.4n

            This defines a piece of 10mm long coaxial transmission line with precomputed unit parameters R, L, and C specified by R11, L11, and CR1 respectively. You need to fill in the correct numbers.

              To probe further, refer to HSPICE manual Chapter 21.