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_4/ex16/simulation/modelsim/init_adc.do | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 part_4/ex16/simulation/modelsim/init_adc.do (limited to 'part_4/ex16/simulation/modelsim/init_adc.do') diff --git a/part_4/ex16/simulation/modelsim/init_adc.do b/part_4/ex16/simulation/modelsim/init_adc.do new file mode 100644 index 0000000..1269f00 --- /dev/null +++ b/part_4/ex16/simulation/modelsim/init_adc.do @@ -0,0 +1,23 @@ +add wave sysclk +add wave clk_1MHz +add wave start +add wave data_from_adc +add wave data_valid +add wave -hexadecimal data_out +add wave adc_cs +add wave adc_sck +add wave adc_done +add wave adc_din +add wave -hexadecimal shift_reg +add wave -hexadecimal state +add wave shift_ena +force sysclk 1 0, 0 {10 ns} -r 20 ns +force start 0 +run 200ns +force start 1 +run 200ns +force start 0 +force data_from_adc 0 @ 1us, 1 @ 6us, 0 @ 8us, 1 @ 10us, 0 @ 13us, 1 @ 15us + +run 20us + -- cgit v1.2.3-54-g00ecf