From c1db8fde8fb480ce9936cc58d7859fa998bce4e4 Mon Sep 17 00:00:00 2001 From: mindchasers Date: Mon, 8 Jul 2019 19:29:28 -0400 Subject: top: fix typo for debug defines: DEBUG_I2C --- source/definitions.v | 6 +++--- source/top.v | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source') 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; -- cgit v1.2.3-8-gadcc