⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex_319_wave.do

📁 GPIO (General Purpose Input and Output ports) with microprocessor programmable tri-state bus interfa
💻 DO
字号:
# compile
vlog EX_319.v
vlog EX_319_top.v
vlog EX_319_tb.v
#vlog EX_319_tb_task.v

# simulate
vsim -coverage testbench

#probe signals
add wave -noupdate -format -logic              /testbench/EX319_instance/reset
add wave -noupdate -format -logic              /testbench/EX319_instance/clk
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/addr
add wave -noupdate -format -logic              /testbench/EX319_instance/rd_n
add wave -noupdate -format -logic              /testbench/EX319_instance/wr_n
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/data
add wave -noupdate -format -logic              /testbench/EX319_instance/cs_n_0
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_0_r
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_1_r
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_2_r
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_0_w
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_1_w
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_2_w
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U0/reg_3
add wave -noupdate -format -logic              /testbench/EX319_instance/cs_n_1
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_0_r
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_1_r
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_2_r
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_0_w
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_1_w
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_2_w
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/GPIO_U1/reg_3
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/gpio0
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/gpio1
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/gpio2
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/gpio3
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/gpio4
add wave -noupdate -format -literal -radix hex /testbench/EX319_instance/gpio5
# 4000 ns
run 4000

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -