Technical data
write tssi
CR-236 ModelSim Commands ModelSim EE/SE Command Reference
write tssi
The write tssi command records the contents of the default or specified List
window in a “TSSI format” file. The file contains simulation data for all HDL
items displayed in the List window that can be converted to TSSI format (VHDL
signals and Verilog nets). A signal definition file is also generated.
The List window needs to be using symbolic radix in order for write tssi to
produce useful output.
Syntax
write tssi
[-window <wname>] <filename>
Arguments
-window <wname>
Specifies a List window using the full Tk path. Optional. Default is to use the List
window set by the view command
(CR-180).
<filename>
Specifies the name of the output file where the data is to be written. Required.
Description
“TSSI format” is documented in the Summit Design document ASCII I/O
Interface, dated August 31, 1992. In that document, it is called Standard Events
Format (SEF).
If the <filename> has a file extension (e.g., listfile.lst), then the definition file is
given the same file name with the extension .def (e.g., listfile.def). The values in
the listfile are produced in the same order that they appear in the list window. The
directionality is determined from the port type if the item is a port, otherwise it is
assumed to be bidirectional (mode INOUT).
Items that can be converted to SEF are VHDL enumerations with 255 or fewer
elements and Verilog nets. The enumeration values U, X, 0, 1, Z, W, L, H and
-
(the enumeration values defined in the IEEE Standard 1164 std_ulogic
enumeration) are converted to SEF values according to the table below. Other
values are converted to a question mark (?) and cause an error message. Though
the WRITE TSSI command was developed for use with std_ulogic, any signal
which uses only the values defined for std_ulogic (including the VHDL standard
type bit) will be converted.