[UART]
- added UART with FIFO git-svn-id: http://moon:8086/svn/vhdl/trunk@1353 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
## NOTE: Do not edit this file.
|
||||
##
|
||||
|
||||
vlib work
|
||||
vcom -explicit -93 "../juart_tx.vhd"
|
||||
vcom -explicit -93 "../juart_rx.vhd"
|
||||
vcom -explicit -93 "../../misc/bbfifo.vhd"
|
||||
vcom -explicit -93 "../uart_tx.vhd"
|
||||
vcom -explicit -93 "../uart_rx.vhd"
|
||||
vcom -explicit -93 "../tb_uart.vhd"
|
||||
|
||||
#restart -force
|
||||
vsim -t 1ps -lib work tb_uart
|
||||
do {tb_uart.wdo}
|
||||
view wave
|
||||
view structure
|
||||
view signals
|
||||
run 880.0us
|
||||
@@ -0,0 +1,37 @@
|
||||
onerror {resume}
|
||||
quietly WaveActivateNextPane {} 0
|
||||
add wave -noupdate -format Logic /tb_uart/rst
|
||||
add wave -noupdate -format Logic /tb_uart/clk
|
||||
add wave -noupdate -format Logic /tb_uart/en_16_x_baud
|
||||
add wave -noupdate -format Logic /tb_uart/tx_we
|
||||
add wave -noupdate -format Logic /tb_uart/ser_out
|
||||
add wave -noupdate -format Logic /tb_uart/tx_full
|
||||
add wave -noupdate -format Logic /tb_uart/tx_half_full
|
||||
add wave -noupdate -format Logic /tb_uart/rx_full
|
||||
add wave -noupdate -format Logic /tb_uart/rx_half_full
|
||||
add wave -noupdate -format Literal -radix hexadecimal /tb_uart/tx_din
|
||||
add wave -noupdate -format Logic /tb_uart/ser_in
|
||||
add wave -noupdate -format Logic /tb_uart/rx_dout_vld
|
||||
add wave -noupdate -format Logic /tb_uart/rx_re
|
||||
add wave -noupdate -format Literal -radix hexadecimal /tb_uart/rx_dout
|
||||
add wave -noupdate -format Literal -radix hexadecimal /tb_uart/baud_count
|
||||
add wave -noupdate -format Literal -radix hexadecimal /tb_uart/baud_reg
|
||||
add wave -noupdate -format Literal -radix hexadecimal /tb_uart/data_rx
|
||||
add wave -noupdate -format Literal -radix hexadecimal /tb_uart/data_tx
|
||||
add wave -noupdate -format Literal /tb_uart/count_rx
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {878977587 ps} 0}
|
||||
configure wave -namecolwidth 150
|
||||
configure wave -valuecolwidth 100
|
||||
configure wave -justifyvalue left
|
||||
configure wave -signalnamewidth 1
|
||||
configure wave -snapdistance 10
|
||||
configure wave -datasetprefix 0
|
||||
configure wave -rowmargin 4
|
||||
configure wave -childrowmargin 2
|
||||
configure wave -gridoffset 0
|
||||
configure wave -gridperiod 1
|
||||
configure wave -griddelta 40
|
||||
configure wave -timeline 0
|
||||
update
|
||||
WaveRestoreZoom {0 ps} {924 us}
|
||||
Reference in New Issue
Block a user