diff options
| author | Julian Blake Kongslie | 2021-03-23 21:52:41 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-03-23 21:54:44 -0700 |
| commit | 8056863ce3e95db52e027a0f0babe51df1cb9a4e (patch) | |
| tree | d35ce72f92e8a9b6f1dce49572a49b3117c5827e /jtag_uart.sv | |
| parent | Adding olamic hook to autobuild source archives. (diff) | |
| download | toycpu-8056863ce3e95db52e027a0f0babe51df1cb9a4e.tar.xz | |
Additional cleanup to make it Quartus-friendly.
Diffstat (limited to '')
| -rw-r--r-- | jtag_uart.sv | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/jtag_uart.sv b/jtag_uart.sv index ddb5ecb..5c4857d 100644 --- a/jtag_uart.sv +++ b/jtag_uart.sv | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | `include "utils.svh" | ||
| 2 | |||
| 1 | module jtag_uart | 3 | module jtag_uart |
| 2 | #( INSTANCE = 0 | 4 | #( INSTANCE = 0 |
| 3 | 5 | ||
| @@ -7,13 +9,13 @@ module jtag_uart | |||
| 7 | ( input bit clk | 9 | ( input bit clk |
| 8 | , input bit reset | 10 | , input bit reset |
| 9 | 11 | ||
| 10 | , input bit rx_ready `define rx_ready $past(rx_ready) | 12 | , input bit rx_ready `define rx_ready `past(rx_ready) |
| 11 | , output bit rx_valid | 13 | , output bit rx_valid |
| 12 | , output bit [7:0] rx_data | 14 | , output bit [7:0] rx_data |
| 13 | 15 | ||
| 14 | , output bit tx_ready | 16 | , output bit tx_ready |
| 15 | , input bit tx_valid `define tx_valid $past(tx_valid) | 17 | , input bit tx_valid `define tx_valid `past(tx_valid) |
| 16 | , input bit [7:0] tx_data `define tx_data $past(tx_data) | 18 | , input bit [7:0] tx_data `define tx_data `past(tx_data) |
| 17 | ); | 19 | ); |
| 18 | 20 | ||
| 19 | `ifdef SYNTHESIS | 21 | `ifdef SYNTHESIS |
