Download SIMetrix User`s Manual
Transcript
Chapter 5 Parts Property name Property value Purpose Model X Ensures netlist line starts with X. Identifies part as a subcircuit. Should be hidden and protected Value subcircuit_name Name used to reference subcircuit definition. Can be changed by user after placing on schematic. Ref component_reference E.g. U?. Automatically allocated when placing symbol on schematic. Most symbols possess these properties anyway, the important fact is that the model property must be set to X. When defining a symbol from scratch, these properties can be defined in one go in the graphical symbol editor with Property/Pin|Add Standard Properties... . To use the sub-circuit definition, SIMetrix must be able to find it. There are various places where it can be put and means of telling SIMetrix of the location. These are the choices. 1. Place the definition directly in the simulator command - or F11 - window (see “Manual Entry of Simulator Commands” on page 59). If placed at that location, it will be read in unconditionally and SIMetrix will not need to search for it. 2. Put in a separate file and pull in to the schematic with .INC control (see Simulator Reference Manual) placed in simulator command (F11) window. As 1., this will be read in unconditionally. 3. Put in a library file and reference in schematic with .LIB control (see Simulator Reference Manual) placed in simulator command (F11) window. Similar to 2. but more efficient if library has many models not used in the schematic. Only the devices required will be read in. 4. Put in a library file and install it using the procedure described in “Full Model Installation Procedure” on page 167. This will make the device globally available to all schematics. You can also install it into the model library browser system. These topics are covered in “Device Library and Parts Management” on page 166 and are also the subject of Tutorial 3. To place the device on the schematic, find the symbol in schematic popup All Symbols... and place in the normal way. After it is placed, select the device and press shift-F7 and enter the subcircuit's name. If you installed the device into the model library browser system, as mentioned in choice 4 above, you will be able to place the device by pressing control-G and selecting the device from the appropriate category. The model library browser system also provides a simple to use means of overcoming the problem mentioned above that occurs if the symbol's pin order does not match the subcircuit's node order. This is explained “Associating Multiple Models with Symbols” on page 174. 161