[Cryptech-Commits] [core/math/modexps6] 02/03: Change reset to active-low.

git at cryptech.is git at cryptech.is
Mon Nov 16 21:40:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository core/math/modexps6.

commit e44dd819708da2b7252c2c90db20a7af601b440e
Author: Paul Selkirk <paul at psgd.org>
Date:   Thu Nov 12 22:50:07 2015 -0500

    Change reset to active-low.
---
 src/rtl/modexps6_wrapper.v | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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;



More information about the Commits mailing list