From 821471932eb48bb39a820fc6680355231e6093fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Sat, 27 Sep 2014 14:38:05 +0200 Subject: Adding debug port for mixer and csprng. In the csprng the debug_update will trigger fifo extraction and thus force random number generation. --- src/rtl/trng_mixer.v | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/rtl/trng_mixer.v') diff --git a/src/rtl/trng_mixer.v b/src/rtl/trng_mixer.v index 7d398f5..d11050c 100644 --- a/src/rtl/trng_mixer.v +++ b/src/rtl/trng_mixer.v @@ -69,7 +69,10 @@ module trng_mixer( output wire [511 : 0] seed_data, output wire seed_syn, - input wire seed_ack + input wire seed_ack, + + output wire [7 : 0] debug, + input wire debug_update ); @@ -246,6 +249,8 @@ module trng_mixer( assign entropy1_ack = tmp_entropy1_ack; assign entropy2_ack = tmp_entropy2_ack; + assign debug = 8'h55; + //---------------------------------------------------------------- // core instantiation. -- cgit v1.2.3