Technical data
FLI and PLI tracing
ModelSim EE/PLUS Reference Manual VHDL Foreign Language Interface and Verilog PLI
-
487
Invokin
g
a trace
To invoke the trace, call
vsim
(p91) with the
-trace_foreign <int>
option:
Syntax
vsim
-trace_foreign <int> [-tag <string>]
Arguments
<int>
Specifies these actions:
-tag <string>
Used to give distinct file names for multiple traces. Optional.
Examples
vsim -trace_foreign 1 mydesign
creates a log file
vsim -trace_foreign 3 mydesign
creates both a log file and a set of replay files
<int> Action Result
1 create log only writes a local file called
"mti_trace_<tag>"
2 create replay only writes local files called
"mti_data_<tag>.c",
"mti_init_<tag>.c",
"mti_replay_<tag>.c" and
"mti_top_<tag>.c"
3 create both log and replay
16 use for replaying the
original actions