23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.2 Subcircuit and Device Model Definition 197<br />

By declaring a port as Optional, you can tell Analog Insydes to ignore any missing connections to<br />

this port and perform some default action instead, such as connecting the port to the ground node.<br />

This is useful for modeling integrated semiconductor devices with substrate pins. If the substrate<br />

pin of a BJT or MOSFET model is an optional port, you can use the same model definition for<br />

both three-pin and four-pin devices. If you write the Ports specifications for these device types as<br />

shown below, then the substrate pin is connected implicitly to the ground node and source terminal,<br />

respectively, whenever a BJT or MOSFET model is instantiated as a three-pin device.<br />

The following Ports declaration causes the substrate pin S of a BJT device to be connected to the<br />

ground node if S is left unconnected:<br />

Ports −> {"C", "B", "E", Optional["S", 0]}<br />

This causes the bulk node B of a MOSFET device to be connected to the source terminal if the port<br />

node B is left unconnected:<br />

Ports −> {"D", "G", "S", Optional["B", "S"]}<br />

You can also tell Analog Insydes to leave an unconnected node floating by using Optional without<br />

a second argument. The following Ports declaration treats S as if it were an internal node of the<br />

model definition if S is left unconnected.<br />

Ports −> {"C", "B", "E", Optional["S"]}<br />

The second node given in an Optional declaration must be a required port, an internal<br />

node of the model definition, or the global ground node.<br />

Parameters<br />

Parameters−>{parspec <br />

, parspec <br />

, † † † }<br />

specify the symbols which represent parameters of a model<br />

definition<br />

Format of the Parameters argument.<br />

With the Parameters keyword, you can specify the set of symbols which represent the parameters<br />

of a model definition. Possible values are:<br />

symbol<br />

Global[symbol]<br />

declare symbol as an instance-specific model parameter<br />

declare symbol as a global quantity but allow<br />

instance-specific value assignments<br />

Values for the parameter specification parspec.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!