Unformatted text preview:

hspice book hspice ch19 1 Thu Jul 23 19 10 43 1998 Chapter 18 Finding Device Libraries For libraries with multiple models of a given element you need to be able to automatically find the proper model for each transistor size Use the Star Hspice automatic model selector to accomplish this This chapter describes how to use the model selector then provides listings of device libraries that you can use with Star Hspice The following topics are covered in this chapter Selecting Models Automatically Examining the Library Listings Star Hspice Manual Release 1998 2 18 1 hspice book hspice ch19 2 Thu Jul 23 19 10 43 1998 Selecting Models Automatically Finding Device Libraries Selecting Models Automatically The model selector uses the following criteria LMIN XLREF L XL LMAX XLREF WMIN XWREF W XW WMAX XWREF If XLREF is not specified XLREF is set to XL If XWREF is not specified XWREF is set to XW The model selector syntax is based on a common model root name with a unique extension for each model Note The preceding does not apply to JFETs The following is an example of HSPICE syntax for models M1 drain gate source bulk NJ W 2u L 1u MODEL NJ4 NJF WMIN 1 5u WMAX 3u LMIN 8u LMAX 2u MODEL NJ5 NJF WMIN 1 5u WMAX 3u LMIN 2u LMAX 6u Figure 18 1 illustrates the model selection method 18 2 Star Hspice Manual Release 1998 2 hspice book hspice ch19 3 Thu Jul 23 19 10 43 1998 Finding Device Libraries Selecting Models Automatically wmax 3 m pch 1 x pch 2 x pch 3 x pch 4 x pch 5 x pch 6 x 4m Drawn Channel Width 3m 2m 1m wmin 1 5 m 0 lmin 0 8 m 1m 2m 4m 6m 8m lmax 2 m Drawn Channel Length Figure 18 1 Automatic Model Selector Method For this example there are several pch x models with varying drawn channel lengths and widths in the model library The model root name is pch and the extensions are 1 2 6 The NJ4 instance of the NJ element W 2 L 1 requires a model for which 1 5 channel width 3 and 0 8 channel length 2 The automatic model selector chooses the pch 4 model since that model satisfies these requirements Similarly the NJ5 transistor requires a model with 1 5 channel width 3 and 2 channel length 6 The pch 5 model satisfies these requirements If a device size is out of range for all the models that exist an error message is issued If a model within a subcircuit cannot be found the automatic model selector searches the top level If the automatic model selector fails to find a model HSPICE terminates The following combination of conditions causes the automatic model selector to fail and terminates HSPICE Star Hspice Manual Release 1998 2 18 3 hspice book hspice ch19 4 Thu Jul 23 19 10 43 1998 Selecting Models Automatically Finding Device Libraries 1 In the element statement a model name is used which contains a period 2 The model library was not designed for use with the HSPICE automatic model selector 3 Either a multisweep specification or a TEMP temperature analysis statement is included in the HSPICE input The following example illustrates how a period in a model name can cause automatic model selection problems Case 1 M1 d g s b N CHN W 10u L 5u Element statement MODEL N CHN LMIN 1u LMAX 4u WMIN 2u WMAX 100u MODEL statement Case 2 TEMP 25 M1 d g s b N CHN W 10u L 5u Element statement MODEL N CHN LMIN 1u LMAX 4u WMIN 2u WMAX 100u MODEL statement In Case 1 since there is no multisweep or temperature analysis specified the HSPICE model selector feature is not invoked so the N CHN model is used with no problems In Case 2 however the presence of the TEMP statement invokes the model selector feature The model selector tries to find a model named N nnn that fits within the length and width ranges given in the element statement Because the length given in the element statement 5 m is not within the 1 to 4 m range specified in the MODEL statement the model selector cannot find a model that matches the element statement and HSPICE issues a device N not found error message 18 4 Star Hspice Manual Release 1998 2 hspice book hspice ch19 5 Thu Jul 23 19 10 43 1998 Finding Device Libraries Examining the Library Listings Examining the Library Listings The names of models provided with Star Hspice are listed in the following sections Each type of model is stored in a directory that has a name indicating the type of models it contains such as dio for diodes and bjt for bipolar junction transistors The path to the directory is shown for each model type This path can be specified in a OPTION SEARCH statement such as OPTION SEARCH installdir 96 parts dio where installdir is the environment variable set to the path to the HSPICE software installation directory and 96 is the HSPICE release number All model directories are under the parts directory Analog Device Models Search path installdir parts ad Model names AD581 AD581J AD581K AD581L AD581S AD581T AD581U AD584 AD584J AD584K AD584L AD584S AD584T AD587 AD587J AD587K AD587L AD587S AD587T AD587U AD600 AD600J AD602 AD602J AD620 AD620A AD620B AD620S AD624 AD624A AD624B AD624C AD624S AD630 AD630A AD630B AD630J AD630K AD630S AD633 AD633J AD645 AD645A AD645B AD645J AD645K AD645S AD704 AD704A AD704B AD704J AD704K AD704T AD705 AD705A AD705B AD705J AD705K AD705T AD706 AD706A AD706B AD706J AD706K AD706T AD711 AD711A AD711B AD711C AD711J AD711K AD711S AD711T AD712 AD712A AD712B AD712C AD712J AD712K AD712S AD712T AD713 AD713A AD713B AD713J AD713K AD713S AD713T AD734 AD734A Star Hspice Manual Release 1998 2 18 5 hspice book hspice ch19 6 Thu Jul 23 19 10 43 1998 Examining the Library Listings AD734B 18 6 Finding Device Libraries AD734S AD743 AD743A AD743B AD743J AD743K AD743S AD744 AD744A AD744B AD744C AD744J AD744K AD744S AD744T AD745 AD745A AD745B AD745J AD745K AD745S AD746 AD746A AD746B AD746J AD746S AD780 AD780A AD780B AD780S AD797 AD797A AD797B AD797S AD810 AD810A AD810S AD811 AD812 AD812A AD813 AD813A AD817 AD817A AD818 AD818A AD820 AD826 AD826A AD828 AD828A AD829 AD829A AD829J AD829S AD830 AD830A AD830J AD830S AD840 AD840J AD840K AD840S AD843 AD843A AD843B AD843J AD843K AD843S AD844 AD844A AD844B AD844S AD845 AD845A AD845B AD845J AD845K AD845S AD846 AD846A AD846B AD846S AD847 AD847A AD847J AD847S AD848 AD848A AD848J AD848S AD9617 AD9618 AD9621 AD9622 AD9623 AD9624 AD9630 ADG411 ADG411B ADG411T ADG412 ADG412B ADG412T ADG413 ADG413B ADG413T AMP01 AMP02 BUF04 MAT02 MAT03 MAT04 MLT04 MLT04G OP160 OP160A OP160F OP160G OP176 OP176G OP177 OP177A OP177B OP177E OP177F OP177G OP20 OP200 OP200A OP200E OP200F OP200G OP20B OP20C OP20F OP20G OP20H OP21 OP213 OP215 OP215A OP215B OP215C


View Full Document

OSU ECE 323 - Finding Device Libraries

Loading Unlocking...
Login

Join to view Finding Device Libraries and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Finding Device Libraries and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?