User`s guide

19
-
6 Other Output Options
Creatin
g
Test Vector
Files
Schematics provides a special VECTOR symbol that lets you
save digital simulation results to a vector file. Whenever any net
with an attached VECTOR symbol changes state, PSpice A/D
writes a line of time-value data to the vector file using the same
format as the file stimulus device. This means that you can use
the vector file to drive inputs for another simulation.
To
g
enerate a test vector file from
y
our circuit
1
Place a VECTOR symbol and connect it to a wire or bus at
the output of a digital part instance.
2
Double-click the VECTOR symbol instance.
3
Set the symbol attributes as described below.
4
Repeat steps 1
through 3 for as many test vectors as you
want to create.
For this attribute... Define this...
POS Column position in the file. Valid values
range from 1 to 255.
FILE Name of the vector file. If left blank, PSpice
A/D creates a file named
schematic_name.vec
.
RADIX If the VECTOR symbol is attached to a bus,
the numerical notation for a bus. Valid
values are B[inary], O[ctal], and H[ex].
BIT If the VECTOR symbol is attached to a
wire, the bit position within a single hex or
octal digit.
SIGNAMES Names of the signals that appear in the
header of the file. If left blank, PSpice A/D
defaults to the following:
For a wire, the label (name) on the wire.
For a bus, a name derived from the
position of each signal in the bus (from
MSB to LSB).
To find out about vector file
syntax, refer to the online
M
icroSim PSpice A/D Reference
M
anual.
To find out about settin
g
up
di
g
ital stimuli, see Defining a
Digital Stimulus on page 14-5.
double-click here to
edit the POS attribute
double-click here to
edit all attributes
Note
You can
g
roup
separate si
g
nal values to form
a hex or octal value by
specifyin
g
the same POS
attribute and definin
g
RADIX
as Hex or Octal. Define the bit
position within the value usin
g
the BIT attribute.