aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2014-12-04 11:04:42 +0100
committerJoachim StroĢˆmbergson <joachim@secworks.se>2014-12-04 11:04:42 +0100
commit33a7d969eb056c24a77dfbc8144b7701ba6aa3a1 (patch)
tree6061e0f0a8b9e111ed47b7a93cf87db2f8fc50a3 /src
parent766d09eaab0d7616f47327844bb9cdd4afe6d5f6 (diff)
An instance, not a module.
Diffstat (limited to 'src')
-rw-r--r--src/rtl/coretest_trng.v30
1 files 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)
+ );
//----------------------------------------------------------------