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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user