in order to watch UVM_details windows in questasim10.2c/10.2b,vlog option + 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) payloadsegment=data;
and in UVM_details window, as sequence is added to waves
,we sees randomized sequence item ,payloadsegment_0_,payloadsegment_1_,payloadsegment_2_。
why payloadsegment is not legal c identifier?!
but if the same codes rerun in questasim10.1d,above warning not reported.