From 2b374d2b124d073e37708843cf599256b2cd9aa1 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 12 Nov 2015 16:48:01 -0500 Subject: Change reset to active-low. --- i2c/rtl/novena_i2c.v | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'i2c') diff --git a/i2c/rtl/novena_i2c.v b/i2c/rtl/novena_i2c.v index c70f691..4ea6f82 100644 --- a/i2c/rtl/novena_i2c.v +++ b/i2c/rtl/novena_i2c.v @@ -67,7 +67,7 @@ module novena_top // and implement the reset logic. // ---------------------------------------------------------------- wire sys_clk; - wire sys_rst; + wire sys_rst_n; novena_clkmgr # ( @@ -82,7 +82,7 @@ module novena_top .reset_mcu_b(reset_mcu_b_pin), .sys_clk(sys_clk), - .sys_rst(sys_rst) + .sys_rst_n(sys_rst_n) ); @@ -101,7 +101,6 @@ module novena_top wire sda_int; wire clk = sys_clk; - wire reset_n = ~sys_rst; // Coretest connections. wire coretest_reset_n; @@ -132,7 +131,7 @@ module novena_top i2c_core i2c_core ( .clk(clk), - .reset(sys_rst), + .reset(~sys_rst_n), // active-high reset for this third-party module // External data interface .SCL(i2c_scl), @@ -154,7 +153,7 @@ module novena_top coretest coretest ( .clk(clk), - .reset_n(reset_n), + .reset_n(sys_rst_n), .rx_syn(i2c_rxd_syn), .rx_data(i2c_rxd_data), @@ -189,7 +188,7 @@ module novena_top core_selector cores ( .sys_clk(clk), - .sys_rst(sys_rst), + .sys_rst_n(sys_rst_n), .sys_eim_addr(sys_eim_addr), .sys_eim_wr(sys_eim_wr), -- cgit v1.2.3