[Cryptech-Commits] [test/novena_trng] 01/01: An instance, not a module.

git at cryptech.is git at cryptech.is
Thu Dec 4 10:04:46 UTC 2014


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

joachim at secworks.se pushed a commit to branch master
in repository test/novena_trng.

commit 33a7d969eb056c24a77dfbc8144b7701ba6aa3a1
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Thu Dec 4 11:04:42 2014 +0100

    An instance, not a module.
---
 src/rtl/coretest_trng.v | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/rtl/coretest_trng.v b/src/rtl/coretest_trng.v
index aadc051..f422008 100644
--- a/src/rtl/coretest_trng.v
+++ b/src/rtl/coretest_trng.v
@@ -161,25 +161,25 @@ module coretest_trng(
               );
 
 
-module trng(
-            // Clock and reset.
-            .clk(clk),
-            .reset_n(reset_n),
+  trng trng_inst(
+                 // Clock and reset.
+                 .clk(clk),
+                 .reset_n(reset_n),
 
-            .avalanche_noise(noise),
+                 .avalanche_noise(noise),
 
-            .cs(trng_cs),
-            .we(trng_we),
-            .address(trng_address),
-            .write_data(trng_write_data),
-            .read_data(trng_read_data),
-            .error(trng_error),
+                 .cs(trng_cs),
+                 .we(trng_we),
+                 .address(trng_address),
+                 .write_data(trng_write_data),
+                 .read_data(trng_read_data),
+                 .error(trng_error),
 
-            .debug(trng_debug),
-            .debug_update(trng_debug_update),
+                 .debug(trng_debug),
+                 .debug_update(trng_debug_update),
 
-            .security_error(trng_security_error)
-           );
+                 .security_error(trng_security_error)
+                );
 
 
   //----------------------------------------------------------------



More information about the Commits mailing list