Add basic UART device
So far the device only transmits the ASCII set on repeat, but will become fully featured later.
This commit is contained in:
14
hw/fpga/simulation/modelsim/uart.do
Normal file
14
hw/fpga/simulation/modelsim/uart.do
Normal file
@@ -0,0 +1,14 @@
|
||||
transcript on
|
||||
if {[file exists rtl_work]} {
|
||||
vdel -lib rtl_work -all
|
||||
}
|
||||
vlib rtl_work
|
||||
vmap work rtl_work
|
||||
|
||||
vlog -sv -work work {../../uart.sv}
|
||||
vlog -sv -work work {../../hvl/uart_testbench.sv}
|
||||
|
||||
vsim -t 1ps -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lnsim_ver -L stratixv_ver -L stratixv_hssi_ver -L stratixv_pcie_hip_ver -L rtl_work -L work -voptargs="+acc" testbench
|
||||
|
||||
add wave -group {dut} -radix hexadecimal sim:/testbench/dut/*
|
||||
|
||||
Reference in New Issue
Block a user