in order to watch UVM_details windows in questasim10.2c/10.2b,vlog add questa_uvm_pkg options.
Makefile as follows:
questa_uvm_pkg=/app/mentor/questasim_10.2c/questasim/verilog_src/
vlog +incdir+(uvm_home)/src (uvm_home)/src/uvm.sv
+incdir+(questa_uvm_pkg) (questa_uvm_pkg)/questa_uvm_pkg.sv
…
under of simulation,report warning as follows:
questasim/verilog_src/questa_uvm_pkg_1.2/src/questa_recorder.svh(364) @4080840000: reporter [ILLEGALNAME] ‘payloadsegment[0]’ is not a legal c identifier name.change to
questasim/verilog_src/questa_uvm_pkg_1.2/src/questa_recorder.svh(366) @4080840000: reporter [ILLEGALNAME]
‘payloadsegment_0_’ Attibutes mus be named as a legal cidentifier.
and in monitor.svh,
foreach(payloadsegment[i])
payloadsegment[i]=data[i];
and in UVM_details window, as sequence is added to waves,we sees
randomized sequence item ,payloadseqment_0_,payloadseqment_1_,payloadseqment_2_。
why payloadsegment[i] is not legal c identifier?! but if the same codes rerun in questasim10.1d,above warning not reported.