Line 61... |
Line 61... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.14 2001/12/03 21:44:29 gorban
|
|
// Updated specification documentation.
|
|
// Added full 32-bit data bus interface, now as default.
|
|
// Address is 5-bit wide in 32-bit data bus mode.
|
|
// Added wb_sel_i input to the core. It's used in the 32-bit mode.
|
|
// Added debug interface with two 32-bit read-only registers in 32-bit mode.
|
|
// Bits 5 and 6 of LSR are now only cleared on TX FIFO write.
|
|
// My small test bench is modified to work with 32-bit mode.
|
|
//
|
// Revision 1.13 2001/11/08 14:54:23 mohor
|
// Revision 1.13 2001/11/08 14:54:23 mohor
|
// Comments in Slovene language deleted, few small fixes for better work of
|
// Comments in Slovene language deleted, few small fixes for better work of
|
// old tools. IRQs need to be fix.
|
// old tools. IRQs need to be fix.
|
//
|
//
|
// Revision 1.12 2001/11/07 17:51:52 gorban
|
// Revision 1.12 2001/11/07 17:51:52 gorban
|
Line 145... |
Line 154... |
//
|
//
|
// Transmitter FIFO signals
|
// Transmitter FIFO signals
|
wire [`UART_FIFO_WIDTH-1:0] tf_data_in;
|
wire [`UART_FIFO_WIDTH-1:0] tf_data_in;
|
wire [`UART_FIFO_WIDTH-1:0] tf_data_out;
|
wire [`UART_FIFO_WIDTH-1:0] tf_data_out;
|
wire tf_push;
|
wire tf_push;
|
wire tf_underrun;
|
|
wire tf_overrun;
|
wire tf_overrun;
|
wire [`UART_FIFO_COUNTER_W-1:0] tf_count;
|
wire [`UART_FIFO_COUNTER_W-1:0] tf_count;
|
|
|
assign tf_data_in = wb_dat_i;
|
assign tf_data_in = wb_dat_i;
|
|
|
Line 158... |
Line 166... |
.wb_rst_i( wb_rst_i ),
|
.wb_rst_i( wb_rst_i ),
|
.data_in( tf_data_in ),
|
.data_in( tf_data_in ),
|
.data_out( tf_data_out ),
|
.data_out( tf_data_out ),
|
.push( tf_push ),
|
.push( tf_push ),
|
.pop( tf_pop ),
|
.pop( tf_pop ),
|
.underrun( tf_underrun ),
|
|
.overrun( tf_overrun ),
|
.overrun( tf_overrun ),
|
.count( tf_count ),
|
.count( tf_count ),
|
.error_bit(), // Ta ni priklopljen. Prej je manjkal, dodal Igor
|
.error_bit(), // Ta ni priklopljen. Prej je manjkal, dodal Igor
|
.fifo_reset( tx_reset ),
|
.fifo_reset( tx_reset ),
|
.reset_status(lsr_mask)
|
.reset_status(lsr_mask)
|