From e44dd819708da2b7252c2c90db20a7af601b440e Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 12 Nov 2015 22:50:07 -0500 Subject: Change reset to active-low. --- src/rtl/modexps6_wrapper.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rtl') diff --git a/src/rtl/modexps6_wrapper.v b/src/rtl/modexps6_wrapper.v index 3fad0f9..aa49261 100644 --- a/src/rtl/modexps6_wrapper.v +++ b/src/rtl/modexps6_wrapper.v @@ -1,6 +1,6 @@ module modexps6_wrapper ( - clk, rst, + clk, reset_n, cs, we, address, write_data, read_data ); @@ -10,7 +10,7 @@ module modexps6_wrapper // Ports // input wire clk; - input wire rst; + input wire reset_n; input wire cs; input wire we; @@ -117,7 +117,7 @@ module modexps6_wrapper // always @(posedge clk) // - if (rst) begin + if (!reset_n) begin // reg_control <= 2'b00; reg_mode <= 1'b0; -- cgit v1.2.3