de_import_design()

Imports a foreign design format. Translates a foreign file into a design file. Returns: none.

See also: de_export_design().

Syntax:

de_import_design(designType, overwrite, "inputFileName", "designFileName" [, "defaultDesignName"]);

where

designType is a numerical value indicating type of output design, where:
DE_SPICE_FILE = Spice File. The spice dialect for translation is set using the SpiceDialect Option in the options file spice.opt , where:

  • 1 = SPICE2G
  • 2 = SPICE3
  • 3 = PSPICE (default)
  • 4 = HSPICE
  • 5 = HPSPICE
  • DE_HPIFF_FILE = IFF
  • DE_GDSII_FILE = GDSII Stream Format
  • DE_IGES_FILE = IGES
  • DE_HPGL2_FILE = HPGL/2
  • DE_MASK_FILE = Mask File (.msk)
  • DE_EGSGEN_FILE = EGS Generate Format
  • DE_EGSARC_FILE = EGS Archive Format

overwrite is a numerical value indicating whether design file is overwritten.

  • 0 = do not overwrite design file
  • 1 = overwrite design file

inputFileName is a string, enclosed in quotes, indicating the file name of the file to be translated.

designFileName is a string, enclosed in quotes, indicating the file name of the design file to be generated.

defaultDesignName is a string, enclosed in quotes, indicating the default design name. Optional.

Example:

The example imports the current design in GDSII format.

de_import_design(DE_GDSII_FILE, 1, "graph1.hpg", "graph1.dsn");

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources