-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPointer.do
More file actions
27 lines (19 loc) · 748 Bytes
/
Pointer.do
File metadata and controls
27 lines (19 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#set AlteraLib {c:/altera/81/modelsim_ae/altera/verilog/220model}
#set AlteraLib1 {c:/altera/81/modelsim_ae/altera/verilog/altera_mf}
vlib work
vmap work work
#compilation for library file required by ecc_decoder and true_dp_ram
#vlog -work work {C:\intelFPGA_lite\18.0\quartus\eda\sim_lib\220model.v}
#vlog -work work {C:\intelFPGA_lite\18.0\quartus\eda\sim_lib\altera_mf.v}
vlog -work work Pointer.v
vlog -work work Pointer_tb.v
vsim -t ps work.Pointer_tb
#vsim -L $AlteraLib -L $AlteraLib1 -t ps work.top_dpram_vlg_vec_tst
view wave
add wave -binary /Pointer_tb/clk
add wave -binary /Pointer_tb/aclr
add wave -binary /Pointer_tb/sclr
add wave -binary /Pointer_tb/EN
add wave -decimal /Pointer_tb/Pointer
run 40ps
wave zoomrange 0ps 65ps