-
Notifications
You must be signed in to change notification settings - Fork 2
/
script.do
16 lines (16 loc) · 930 Bytes
/
script.do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
vlog -work work -novopt -sv simulation/chcker.svh
vlog -work work -novopt -sv simulation/dut_top.sv
vlog -work work -novopt -sv simulation/env.sv
vlog -work work -novopt -sv simulation/if.svh
vlog -work work -novopt -sv simulation/scrbrd.svh
vlog -work work -novopt -sv simulation/sequencer.svh
vlog -work work -novopt -sv simulation/testbench.sv
vlog -work work -novopt -sv simulation/vm_parameter.svh
vlog -work work -novopt -sv simulation/vm_uvc.svh
vlog -work work -novopt -sv simulation/assertions.sv
vlog -work work -novopt -sv -coverExcludeDefault -nocoverfec -cover sbceft3 design/vending_machine.sv
vsim -coverage work.tb
run -all
coverage report -file report.txt -source design/vending_machine.sv -assert -directive -cvg -codeAll
coverage report -detail -cvg -directive -config -comments -file fcover_report.txt -append -noa /testbench_sv_unit/scoreboard/cg_product /testbench_sv_unit/scoreboard/cg_money
quit -sim