Cleanup, and use fifo_empty to indicate data available

This commit is contained in:
Joachim Strömbergson 2022-10-28 13:12:47 +02:00
parent 24d8680772
commit 8061491f6e
No known key found for this signature in database
GPG Key ID: 865B8A548EA61679

View File

@ -84,9 +84,8 @@ module uart_fifo(
//----------------------------------------------------------------
// Concurrent connectivity for ports etc.
//----------------------------------------------------------------
assign in_ack = in_ack_reg;
assign out_syn = |byte_ctr_reg;
assign in_ack = in_ack_reg;
assign out_syn = ~fifo_empty;
assign out_data = fifo_mem[out_ptr_reg];