efabless / EF_UART

Universal Asynchronous Receiver/Transmitter (UART) with FIFOs Soft IP
Apache License 2.0
3 stars 2 forks source link

Fifo reading might stuck depending on AHB #27

Open M0stafaRady opened 1 month ago

M0stafaRady commented 1 month ago

Since reading from the fifo is dependent on the value of last_HTRANS, if the of last_HTRANS didn't get updated because HREADY is deasserted the fifo would keep popping values until HREADY is asserted. The dependency over HREADY should be removed somehow. https://github.com/efabless/EF_UART/blob/7e876d95a8b75dca1e847505fa344e425215829b/hdl/rtl/bus_wrappers/EF_UART_AHBL.pp.v#L170-L175