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

Creating HSPICE Compatible Designs

This page describes how to create an HSPICE compatible design.

Creating a Component using the HSPICE Compatibility Wizard

  1. Open the project in which you want to create your HSPICE compatible component.
    If a schematic page does not open, open a schematic window.
  2. From the schematic page, choose Tools > HSPICE Compatibility Component Wizard.
    HSPICE Compatibility Component Wizard
  3. Select the HSPICE File that you will create a design for.
    You can manually enter a file, or use the browse button to browse for a file. By default, the dialog will browse the data directory of the current project. If the specified file does not exist, the View HSPICE File and Next buttons will remain disabled.
  4. If the file exists, click View HSPICE File... to display the file in a non-editable text viewer.
  5. Click Next to analyze the file.
    Progress dialogs are shown. When finished, the dialog will either alert you to the fact that it was unable to use the specified file because it is not a valid type for the HSPICE Compatibility, or it will forward you to the appropriate next page of the wizard.
    • If the file analyzer sees elements, parameters, or models that are not contained within a subcircuit, it is considered a top level file.  In ADS, the netlist is bracketed with a new subcircuit header, so that the HSPICE netlist can be used with other ADS elements.  Choose the name for the top-level design in ADS.
    • If the file analyzer finds that all elements, models, and parameters are contained within subcircuits, it is considered a subcircuit file.  The subcircuits in the file can be used directly, so an additional subcircuit header is not necessary.  A list of the subcircuits available in the file is shown. Choose one of those subcircuits.
    • If the analyzer determines that you have a top level design type, you will be shown a page where you can choose nodes in the top level that will be promoted to being I/O terminals.  This allows you to connect inputs and outputs into your design so that the design can interact with other ADS elements (e.g. a system co-simulation).  A list of all of the nodes available in the HSPICE top level is presented.  You can add or delete them from the I/O terminal list.  The up and down buttons allow you to set the order of the I/O terminals.  You do not need to add any nodes, you can simply use the circuit as a zero pin device.
  6. The next page allows you to choose the symbol generation parameters. Based on the terminal setup page (or on the .subckt terminal definition for the circuit that was chosen), the pins for the ADS design is populated. This is a non-editable field. To change the order or pins you must go back to the appropriate prior page using the back button.

    To change the settings, click Edit Symbol Generation Settings. This displays the standard ADS auto-generation dialog for symbols. When finished, click OK to update the summary. These settings will be used to generate the symbol when the wizard is finished.
  7. The last setup page allows you to specify settings for parameters. Any parameter that is specified as a value will automatically be listed in the ADS design parameters list. A parameter that is listed in the ADS design parameters list will be an instance parameter, and can be changed by using the instance parameter editing dialog. By selecting one or more of the parameters, the settings for the parameter can be changed. Clicking the < button will move it back to the HSPICE parameters list, which shows all of the parameters in the HSPICE file that will not be instance parameters. These are typically equation-based parameters. Equation based parameters should not be promoted to instance parameters, because the equations between ADS and HSPICE are not syntactically identical.
  8. Prior to creating the component, a summary page is shown.  The summary should be read, and adjustments made prior to clicking Finish.
  9. To complete the component, click Finish.
    Designs are created in the current project. You can cancel out if a design in the current project will be overwritten. Note that if the dialog is brought up again within the same ADS session, the last settings are reused. Changing the file will delete the settings.
    During the generation of the component, a new schematic window is opened. In this window, a schematic with ports is created, and a symbol is generated based on the symbol generation settings that were specified in the wizard. When the component has been created and saved, the window is closed.

Utilizing HSPICE PDK Components in a PDE Design

This section discusses options for utilizing HSPICE PDK components in ADS.

After the component has been generated, focus will return to the initial schematic window, and ADS will automatically enter into instance placement mode, where you can place the component that was just created.

If you choose to push into the HSPICE design, instead of going into the schematic, a text editor window will be opened that allows you to edit the HSPICE file.

The HSPICE design can be used like any ADS component. If you have pins, you can connect it with ADS hierarchy. If a top level design was designated, it will have pins. If a subcircuit was chosen, it will have appropriate inputs.

All simulation directives in the HSPICE file are ignored. You must place ADS simulation components in your design to perform simulations.

If a top level design was chosen, the .lib and .include components will be resolved. If a subcircuit design was chosen, it may be necessary to place a NetlistInclude component. This can be done by choosing the NetistInclude component from the Data Items palette. This component allows you to include RF circuits and models in ADS, Spectre, and HSPICE format. The component will determine the appropriate file type. For a library file, you must specify a section. Also, a model include path can be set up.

  • No labels