Cadence Mixed-Signal Circuit Design Environment User Guide
Interface Element Macro Models
October 2003
68
Product Version 5.0
There are implementation differences between Spectre and SPICE simulation. The Spectre
interface primitive is different from the SPICE interface primitive. Some other circuit primitives
might be supported by the Spectre simulator but not in the SPICE simulator, or conversely.
To build a SpectreS interface model, therefore, you need to replace the SPICE-compatible
D2A interface primitive with the Spectre D2A interface primitive, and use only circuit devices
that are supported by the Spectre simulator in the macro model file.
The Spectre D2A interface primitive is a two-terminal device with the following syntax and
instance parameters.
Name positiveTerm negativeTerm parameter=value ...
The Spectre D2A primitive is implemented like a piece-wise linear voltage source (PWLVS)
with an output resistance
ron
.
When the digital source changes to logic 1, the D2A PWLVS ramps from its current value to
val1
within
rise
time.
When the digital source changes to logic 0, the D2A PWLVS ramps from its current value to
val0
within
fall
time.
When the digital source changes to logic Z, the D2A PWLVS ramps to the average of
val0
and
val1
using either
rise/2
time or
fall/2
time.
When the digital source changes to logic X, the D2A PWLVS stays at its current value, and a
warning is generated.
Note: Parameters
val0
,
val1
,
rise
, and
fall
control the value of the PWLVS. The actual
voltage across
positiveTerm
and
negativeTerm
depends on the resistance
ron
and the
loading of circuitry connected to the D2A primitive.
Parameter
Description
src
Foreign simulator's name for the source of the D2A signal (Verilog
export name).
val0
Final value for logical 0. Default is 0 V.
val1
Final value for logical 1. Default is 5 V.
rise
Time for transition from val0 to val1. Default is 1 ns.
fall
Time for transition from val1 to val0. Default is 1 ns.
ron
Output resistance of the D2A primitive. Default is 100 Ohm.
nestlev
Nesting level of the interface primitive. The default value is 0.