Last active
December 8, 2017 22:31
-
-
Save SamKLowe/e719a0cc0c0bacbb2f4fa326df5936c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
live: sim_a sim_a2 | |
post: sim_b sim_b2 | |
old_exclude: sim_q | |
sim_a: normal optimize_a | |
@echo make sim_a | |
# vsim -c opt -coverage -do "run -all; do manual_exclusions.do; \ | |
# coverage report -excluded -adaptive -file exclusion.do;q" | |
# read -n 1 -s -r -p "Change source file then press any key to continue" | |
sim_a2: change clean | |
@echo make sim_a2 | |
# vlib work | |
# vlog test.sv tb.sv | |
# vopt tb -o opt +cover -adaptive | |
# vsim -c -coverage opt -do "do exclusion.do; coverage report -excluded;q" | |
sim_b: normal optimize_a | |
@echo make sim_b | |
# vsim -c -coverage opt -do "run -all; coverage save u1.ucdb; q" | |
# vsim -c -viewcov u1.ucdb -do "do manual_exclusions.do; \ | |
# coverage report -excluded -adaptive -file exclusion.do; q" | |
sim_b2: change optimize_a | |
@echo make sim_b2 | |
# sim_b2: clean | |
# vlib work | |
# vlog test.sv tb.sv | |
# vopt tb -o opt +cover -adaptive | |
# vsim -c -coverage opt -do "run -all; coverage save u2.ucdb;q" | |
# vsim -c -viewcov u2.ucdb -do " \ | |
# do exclusion.do; \ | |
# coverage report -excluded;q" | |
optimize_a: compile | |
@echo make optimize_a | |
# vopt tb -o opt +cover -adaptive | |
compile: lib | |
@echo make compile | |
# vlog test.sv tb.sv | |
lib: clean | |
@echo make lib | |
# vlib work | |
normal: | |
@echo "make normal" | |
# rm -rf test.sv | |
# cp test_without_change.sv test.sv | |
change: | |
@echo "make change" | |
# rm -rf test.sv | |
# cp test_with_change.sv test.sv | |
clean_all: clean | |
@echo make clean_all | |
# rm -rf exclusion.do | |
# rm -rf *.ucdb | |
clean: | |
@echo make clean | |
# rm -rf transcript | |
# rm -rf work | |
# rm -rf vsim.wlf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment