mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-07-12 01:39:36 -04:00
Cleanup, and use fifo_empty to indicate data available
This commit is contained in:
parent
24d8680772
commit
8061491f6e
1 changed files with 2 additions and 3 deletions
|
@ -84,9 +84,8 @@ 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…
Add table
Add a link
Reference in a new issue