From 4b6e0102d20d9ab060ce930e4b846c8be446bb06 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Mon, 12 Dec 2016 21:51:10 +0000 Subject: public push --- part_2/ex5/simulation/modelsim/ex5_top_run_msim_rtl_verilog.do | 9 +++++++++ part_2/ex5/simulation/modelsim/tb_counter.do | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 part_2/ex5/simulation/modelsim/ex5_top_run_msim_rtl_verilog.do create mode 100644 part_2/ex5/simulation/modelsim/tb_counter.do (limited to 'part_2/ex5/simulation') diff --git a/part_2/ex5/simulation/modelsim/ex5_top_run_msim_rtl_verilog.do b/part_2/ex5/simulation/modelsim/ex5_top_run_msim_rtl_verilog.do new file mode 100644 index 0000000..98180fe --- /dev/null +++ b/part_2/ex5/simulation/modelsim/ex5_top_run_msim_rtl_verilog.do @@ -0,0 +1,9 @@ +transcript on +if {[file exists rtl_work]} { + vdel -lib rtl_work -all +} +vlib rtl_work +vmap work rtl_work + +vlog -vlog01compat -work work +incdir+C:/VERI/part_2/ex5 {C:/VERI/part_2/ex5/counter_8.v} + diff --git a/part_2/ex5/simulation/modelsim/tb_counter.do b/part_2/ex5/simulation/modelsim/tb_counter.do new file mode 100644 index 0000000..245fe11 --- /dev/null +++ b/part_2/ex5/simulation/modelsim/tb_counter.do @@ -0,0 +1,9 @@ +add wave clock enable +add wave -hexadecimal count +force clock 0 0, 1 10ns -repeat 20ns +force enable 1 +run 100ns +force enable 0 +run 100ns +force enable 1 +run 100ns \ No newline at end of file -- cgit v1.2.3-54-g00ecf