[UART]
- composed uart from uart_tx and uart_rx - tb_uart tests uart git-svn-id: http://moon:8086/svn/vhdl/trunk@1354 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
##
|
||||
|
||||
vlib work
|
||||
vcom -explicit -93 "../uart_types.vhd"
|
||||
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 "../uart.vhd"
|
||||
vcom -explicit -93 "../tb_uart.vhd"
|
||||
|
||||
#restart -force
|
||||
|
||||
@@ -4,23 +4,16 @@ 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
|
||||
add wave -noupdate -format Logic /tb_uart/tx_ser
|
||||
add wave -noupdate -format Logic /tb_uart/rx_ser
|
||||
TreeUpdate [SetDefaultTree]
|
||||
WaveRestoreCursors {{Cursor 1} {878977587 ps} 0}
|
||||
WaveRestoreCursors {{Cursor 1} {10072550 ps} 0}
|
||||
configure wave -namecolwidth 150
|
||||
configure wave -valuecolwidth 100
|
||||
configure wave -justifyvalue left
|
||||
|
||||
Reference in New Issue
Block a user