aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
+ );
//----------------------------------------------------------------