summaryrefslogtreecommitdiff
path: root/part_4/ex16/simulation/modelsim/init_cal.do
blob: a6d14b9315aabc52d2192fb55943d473f8535a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
add wave -position end  sim:/top/CLOCK_50
add wave -position end  sim:/top/clk_10k
add wave -position end  sim:/top/ld_pulse
add wave -position end -hexadecimal sim:/top/SW
add wave -position end -hexadecimal sim:/top/data
add wave -position end  sim:/top/DAC_SDI
add wave -position end  sim:/top/DAC_SCK
add wave -position end  sim:/top/DAC_CS
add wave -position end  sim:/top/DAC_LD
add wave -position end  sim:/top/ADC_SDI
add wave -position end  sim:/top/ADC_SCK
add wave -position end  sim:/top/ADC_CS
add wave -position end  sim:/top/ADC_SDO
force CLOCK_50 1 0, 0 10ns -r 20ns
force SW 10'h20f
force ADC_SDO 1
run 400us