Page tree
Skip to end of metadata
Go to start of metadata

To run this script

Select Script → Models → Circuit_Model_Parameter_Read from the Menus.

Or in Version 13 or higher you can run the utility directly from this page using this button.



This script reads a file containing an HSPICE or Spectre circuit model definition, adds the appropriate model to the active schematic and assigns all the model parameters specified in the file. There is significant error checking to make sure things go smoothly with this process.

To use the script:

  1. Prepare your file. The file must only contain the .model statement from the netlist. You must also prepare the file to specify the appropriate AWR model. In these files there are model lines, they either being with "model" or ".model". The 3rd word on that line defines the name of the model that will be used.  If necessary, replace this 3rd word with the corresponding AWR element model name, e.g. "SDIODE", "GBJT3", "MOSN3_4A", etc.  There are some common names that are already mapped to the appropriate models including:

    • NPN in the netlist will use the GBJT AWR model.

    • BSIM3V3 in the netlist will use the BSIM3 AWR model.

    • PNP in the netlist will use the GBJT_PNP AWR model.

    If there is more text on this line, insert a line break after the model name, and then insert a "+" at the start of the new line. 
  2. Open the schematic where you would like the model to be created.

  3. Run the script as described above

  4. A dialog will open asking you to browse to your file.

  5. When you are finished, you will see the model in your schematic. You will also see a log indicating what model parameters were changed.

    If the script runs across any model parameters it doesn't recognize, they are also listed in the log as such.