aboutsummaryrefslogtreecommitdiff
path: root/core_selector
diff options
context:
space:
mode:
Diffstat (limited to 'core_selector')
-rw-r--r--core_selector/src/rtl/rng_selector.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/core_selector/src/rtl/rng_selector.v b/core_selector/src/rtl/rng_selector.v
index 3a0bd73..0b56684 100644
--- a/core_selector/src/rtl/rng_selector.v
+++ b/core_selector/src/rtl/rng_selector.v
@@ -57,6 +57,10 @@ module rng_selector
);
+`define USE_TRNG
+
+`ifdef USE_TRNG
+
// This is a pass-through to trng.v, which instantiates and muxes the
// entropy sources, mixer, and csprng.
@@ -77,6 +81,13 @@ module rng_selector
.debug(debug)
);
+`else
+
+ assign sys_read_data = {32{1'b0}};
+ assign debug = {32{1'b0}};
+
+`endif
+
endmodule
//======================================================================