Add write and puts tasks to the uart testbench

The write task will transmit a single byte, the puts task will transmit
a string of length n. These do not do any verification, you still have
to look at the output.
This commit is contained in:
Byron Lathi
2022-03-14 00:04:04 -05:00
parent f8da9206d9
commit b48438f6b2
2 changed files with 41 additions and 2 deletions

View File

@@ -12,3 +12,6 @@ vsim -t 1ps -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lns
add wave -group {dut} -radix hexadecimal sim:/testbench/dut/*
onfinish stop
run -all