XSpice Models

XSpice Setup Dialogs

Laplace Transforms, Dividers, Multipliers, Integrators and Differentiator are all supported by specific SuperSpice setup dialogs. Other devices are supported by the generic dialog setup windows.

The XSpice engine has a large number of additions to the original Spice3 engine. The following is a list of each of these xspice code models. Details on the formats can be obtained in the XSpice manual included in the installation.

This section is all described in the XSpice manual included with the download. There is also a clearer XSpice pdf formatted xspice_pdf.zip manual on the AnaSoft Site that is available for download.

Of particular interest for general digital design is the "digital state machine", noted here.

"The digital state machine provides for straightforward descriptions of clocked combinational logic blocks with a variable number of inputs and outputs and with an unlimited number of possible states. The model can be configured to behave as virtually any type of counter or clocked combinational logic block and can be used to replace very large digital circuit schematics with an identically functional but faster representation. The d_state model is configured through the use of a state definition file (state.in) which resides in a a user directory. The file defines all states to be understood by the model, plus input bit combinations which trigger changes in state."

Note that the digital state machine must be wrapped up in a .subckt definition as xspice [] notation is not supported in direct model statements.

List of XSpice Devices

adc_brid() - This model is required to connect an analog output to a digital input.

aswitch()

capacito()

Climit(er)

Cmeter

Core, magnetic

D_And Gate

D_Buffer

D_FF - Bistable

D_Latch

D_Dt Differentiator

D_Div

D_Invertor

D_JK

D_nand

D_Nor

D_open_e

D_Open_e

D-OR

D_Osc

D_pulldo

D_pullup

D_ram

D_SRC

D_SRFF

D_Srlatc

D_state

D_tff

D_Trisa

D_xnor

D_xor

Dac_brid - This model is required to connect a digital output to an analog input.

Divide

Gain

Hyst

Ilimit

Inductor

Jgcos

Jgsine

Lcouple

Limit

Lmeter

Mult

Oneshot

Potentio

Potentiometer or Taped Variable Resistor

The XSpice potentiometer has been enhanced to include an additional end resistance this parameter is end_resitance. If not specified it defaults to 1 milliohm

The end resistance is the minimum resistance that an end to wiper position can achieve. A typical spice model description is:

.MODEL VariableResistor_XN potentiometer (r=10K position=500m end_resistance=5)

PWL

S-Xfer

Sine

Slew

Square

Summer

Triangle

Zener

Contents