Navigate:GUI Main Panel tdx_fsim tdx_iddq
Generic:Logic States Verilog Primitives VHDL Primitives

tdx_lsim

TDX-LSIM is a logic simulator that is used to verify the correctness of a circuit design model. It supports synchronous and asynchronous designs containing logic gates, MOS transistors, tri-state buffers, flip-flops, single/multi-port RAMs, complex bus resolution functions, and Verilog User Defined Primitives (UDPs). TDX-LSIM also supports the very detailed pin timing and strobing features found on modern "tester-per-pin" automatic test equipment (ATE)

Circuit netlists can be in VHDL or Verilog, and all of the gate-level, unidirectional primitives defined in the Open Verilog International Version 2.0 Verilog standard are supported. To accurately model state and timing-sensitive circuits, TDX-LSIM uses an event-driven algorithm with 23 logic states, rise/fall delays, turn-on/off delays, and charge-storage buses and wires.

While TDX-LSIM is a logic simulator, TDX-FSIM is a concurrent fault simulator that is used to fault grade test vectors on the circuit model. TDX-IDDQ is a fault simulator for current-measurement testing. All programs have essentially the same user interface, but TDX-FSIM has additional options for test vector grading, and TDX-IDDQ has additional options for current-measurement vector selection and fault grading. The logic simulation capabilities of TDX-LSIM are included in TDX-FSIM, TDX-IDDQ, TDX-ATG, and TDX-STEP.

TDX-LSIM reads a compiled circuit model, a vector file, and an initialization file containing user options. It produces simulation results in a user-programmable print format, and supports many options for design and vector verification including checking for floating buses and conflicts on buses. The following files are used by TDX-LSIM:

model.ckt
compiled circuit interconnect.
model.nnm
compiled circuit names.
model.vec
input vector file.
model.lsiminit
initial user options file.
model.log
output log file.
The model.ckt and model.nnm are produced by either the Verilog netlist compiler, "verilogt", or by the VHDL netlist compiler "vhdlt." Vector files are created by the user or by TDX-ATG, the automatic test generation program. Vector files created by TDX-ATG are normally named model.tvc, so if TDX-LSIM does not find a model.vec file, it will look for a model.tvc file. The model.lsiminit file contains user options, input/output formatting commands, and pin timing descriptions. The default names for all input files can be changed by command-line options.

The output model.log file contains verification data, information messages. and various statistics about the fault simulation run. The simulation results (called SPT) are normally printed to the screen during the run, but may be redirected to an output file model.spt (see the "spt" option). The default names for all output files can be changed by the "outmodel" command-line option.

TDX-LSIM has an extensive on-line help facility which can be accessed by running "tdx_lsim model -i" (i.e. check the interactive box). Then at the "(lsim)" prompt, enter "help".

lsim Init File

Any command described by the help facility can be put into the default options file model.lsiminit read by TDX-LSIM. The most common commands in the .lsiminit file are:
vector in
defines the format of the input vector file.
vector print
defines the format of the simulation print results.
timeplate
defines pin electronics, timing, and detection strobing.
The init file may also contain many other options including those for floating/conflict/X-state buses, circuit oscillations, and output vector formatting (reformatting of the input vector file). These commands are possible in the init file.

tdx_lsim Control Panel

Creation of the panel is initiated by selecting the Logic entry under the Simulate menu.

When the parameters reflect your intentions push the lsim button. A window will then appear which will show the output of the simulator. If the Interactive checkbox has been checked this window will permit interaction.

To dismiss the panel without performing a simulation push the Cancel button.

The elements of this panel are a subset of the tdx_fsim panel; batch control of the logic simulation is achieved by having appropriate commands in the lsim init file.

Input/Output
Simulate

Interactive Commands

tdx_lsim accepts a subset of the commands acceptable to tdx_fsim. Basically, the fault simulation and scan specific commands are not supported leaving the following:
simulation
freeze, init_state, join_signals, list_set, maxdelta, oscillations, print, set, show, sim, stable_conflict, stop, supply_bidir, timeplate, toggle_count, tvc, unfreeze, unknowns, unstablecancel, unstabledrop, unstableshow, use_timeplate, vlbehavior, weak_cmos_x
breakpoints
break_unknown, delete, when
output
bus, compare_outputs, dct, echocmd, echostring, list_set, out_fmd, outflt, print, show, spt, spt_prtime, spt_trace, spt_watch, tstl, tvc, vcd, vcd_dumpvars, vector, wgl
memories
memload, memunload, xaddr
performance management
accelerate, keep_probable, mem_limit, mem_reserve, oscillations, sortlists
scan
reformat_scan_in
other
debug, define, document, help, include, info, prompt, pwd, quit

Last modified: Fri Sep 12 14:46:18 PDT 1997
Copyright (c) Vervent Technologies Inc, 2007