** Code Coverage Check
irun -elaborate \
-coverage block:expr \
...
irun \
-input ./COVERAGE_DIR/COVERAGE_NAME.tcl
...
* COVERAGE_NAME.tcl
#coverage -setup -dut TB_NAME.dut
coverage -setup -testname TEST_RUSULT_NAME
coverage -setup -workdir COVERAGE_DIR
#coverage -code -score all
coverage -code -reset
#coverage -code -dump
run
# Result Files
~/COVERAGE_DIR/scope/icc_*.ucm => model
~/COVERAGE_DIR/scope/TEST_RUSULT_NAME/icc_*.ucd => coverage data
# View the Results
~/COVERAGE_DIR/scope> verilog_sub -short -Is iccr -g
=> ICC window pops up
File -> Open Test
=> Click Instance
## Post Simulation
* Run Script
irun -compile \
-64BIT \
-nclibdirname ./WORK \
-logfiel ./LOG/vlog_net_file.log \
-f ./inc/netlist.f
irun -elablorate \
-maxdelays \ // -mindelays for best condition
* Include SDF @ testbench
initial begin
$sdf_annotate("~/SDF_DIR/*.sdf", Instance_Hierarchy_Name);
end
* Option to make the simuation stop when the sdf is not annotated
verilog -Is irun File_Name -ncerror CUSFNF -clean
( Otherwise, the warning message is reported and the simulation is done without sdf values )