From 33a7d969eb056c24a77dfbc8144b7701ba6aa3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Thu, 4 Dec 2014 11:04:42 +0100 Subject: 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) + ); //---------------------------------------------------------------- -- cgit v1.2.3