Only accept tx data when the core is ready

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2023-01-02 13:10:40 +01:00
parent e71d70008b
commit 9ce2b8a84a
No known key found for this signature in database
GPG Key ID: 865B8A548EA61679

View File

@ -238,7 +238,9 @@ module uart(
end
ADDR_TX_DATA: begin
core_txd_syn = 1'h1;
if (core_txd_ready) begin
core_txd_syn = 1'h1;
end
end
default: begin