Skip to content

Commit 843726a

Browse files
fix: use RXFIFOTR for rx_more_threshold in APB_UART
Signed-off-by: Ashnaa Seth <ashnaaseth2325@gmail.com> Signed-off-by: ashnaaseth2325-oss <ashnaaseth2325@gmail.com>
1 parent af26ce3 commit 843726a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/designs/src/chameleon/IPs/APB_UART.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ module APB_UART(
142142
32'hDEADDEAD;
143143

144144
wire tx_less_threshold = (tx_level < TXFIFOTR);
145-
wire rx_more_threshold = (rx_level > TXFIFOTR);
145+
wire rx_more_threshold = (rx_level > RXFIFOTR);
146146

147147

148148
assign uart_irq = IMASK[0] & ( (~rx_empty & IMASK[2]) |

0 commit comments

Comments
 (0)