-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Issues to be Fixed
-
There is a spelling error in the comment.
-
parity_erris always cleared. -
Besides clearing the
Parity Errorbit, other bits are also cleared (which should not be cleared).
Recommendations for Improvement
-
LCRis used to refer toLine Control Register, which may cause confusion, suggest extractingPEIE,TXIEandRXIEtoInterrupt Enable Register (IER)or renaming the register's name. -
Suggest renaming
s_rx_push_readytos_rx_fifo_fullto avoid confusion.https://github.com/oscc-ip/uart/blob/0e33d4465fc19e624f9e5c418b4d0cd0b193cc45/rtl/apb4_uart.sv#L183
-
preadyis always true, suggest connecting!tx_fifo_fulltopreadyfor FIFO status detection.https://github.com/oscc-ip/uart/blob/0e33d4465fc19e624f9e5c418b4d0cd0b193cc45/rtl/apb4_uart.sv#L57
https://github.com/oscc-ip/uart/blob/0e33d4465fc19e624f9e5c418b4d0cd0b193cc45/rtl/apb4_uart.sv#L151
BTW, I suggest continuing to use the SHL-0.51 license, which is widely used by projects such as cva6 and has detailed licensing terms. The MulanPSL v2 license is still not mature enough, with vague terms and some unanswered issues (osslab-pku/OpenSourceLicense-FQA#4), so raising concerns about the prospect of maintenance being discontinued.