summaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authormindchasers <privateisland@mindchasers.com>2019-07-08 19:29:28 -0400
committermindchasers <privateisland@mindchasers.com>2019-07-08 19:29:28 -0400
commitc1db8fde8fb480ce9936cc58d7859fa998bce4e4 (patch)
tree37be6ebf307bd2f6a27acf2192388af95e81b66f /source
parent6232c0fffea5df4b381736e6fb956719b047cfcf (diff)
top: fix typo for debug defines: DEBUG_I2C
Diffstat (limited to 'source')
-rw-r--r--source/definitions.v6
-rw-r--r--source/top.v2
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;

Highly Recommended Verilog Books