diff options
-rw-r--r-- | source/definitions.v | 6 | ||||
-rw-r--r-- | source/top.v | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/definitions.v b/source/definitions.v index e612262..ad600ff 100644 --- a/source/definitions.v +++ b/source/definitions.v @@ -19,10 +19,10 @@ * */ -// Debug Options -//`define DEBUG_I2C +// Debug Options (only enable at most one at a time) +`define DEBUG_I2C //`define DEBUG_MDIO -`define DEBUG_SPI +//`define DEBUG_SPI // V02 boards can route UART to FT2232H `define ARD_EXP_UART diff --git a/source/top.v b/source/top.v index 1b0b8c3..3913163 100644 --- a/source/top.v +++ b/source/top.v @@ -2145,7 +2145,7 @@ assign sample_enable = rx_active[2] | tx_active[0]; assign ard_sda = phy0_mdio; assign ard_rxd1 = 1'bz; assign ard_txd1 = refclko; -`elsif DEBUG_IC2 +`elsif DEBUG_I2C assign ard_scl = i2c_scl; assign ard_sda = sda_oe ? sda_o : i2c_sda; assign ard_rxd1 = 1'bz; |