mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-18 12:24:31 -05:00
Cleanup, and use fifo_empty to indicate data available
This commit is contained in:
parent
24d8680772
commit
8061491f6e
@ -85,8 +85,7 @@ module uart_fifo(
|
|||||||
// Concurrent connectivity for ports etc.
|
// Concurrent connectivity for ports etc.
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
assign in_ack = in_ack_reg;
|
assign in_ack = in_ack_reg;
|
||||||
|
assign out_syn = ~fifo_empty;
|
||||||
assign out_syn = |byte_ctr_reg;
|
|
||||||
assign out_data = fifo_mem[out_ptr_reg];
|
assign out_data = fifo_mem[out_ptr_reg];
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user