diff options
| author | Julian Blake Kongslie | 2021-03-29 12:37:18 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-03-29 12:37:18 -0700 |
| commit | 5893895f736ac7f67c5442dfb0bc8d6e6f3302b8 (patch) | |
| tree | 6fdbda55c4b33876a5c17bf56b67922de4608137 /hdl/jtag_uart.sv | |
| parent | Fix WIDTH warnings from verilator. (diff) | |
| download | noncpu-5893895f736ac7f67c5442dfb0bc8d6e6f3302b8.tar.xz | |
Convert to using $sampled instead of $past, for more uniformity.
Diffstat (limited to 'hdl/jtag_uart.sv')
| -rw-r--r-- | hdl/jtag_uart.sv | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hdl/jtag_uart.sv b/hdl/jtag_uart.sv index c297811..ad4665e 100644 --- a/hdl/jtag_uart.sv +++ b/hdl/jtag_uart.sv | |||
| @@ -75,11 +75,7 @@ always_ff @(posedge clk) begin | |||
| 75 | $write("%s", tx_b_data); | 75 | $write("%s", tx_b_data); |
| 76 | tx_b_valid = 0; | 76 | tx_b_valid = 0; |
| 77 | end | 77 | end |
| 78 | `ifdef JTAG_UART_FAST | ||
| 79 | tx_ready = !tx_b_valid; | 78 | tx_ready = !tx_b_valid; |
| 80 | `else | ||
| 81 | tx_ready = !tx_b_valid && !tx_ready && `tx_valid; | ||
| 82 | `endif | ||
| 83 | end | 79 | end |
| 84 | end | 80 | end |
| 85 | 81 | ||
