From 9fa6e368879d30835880b3bb0e87c8cf13dd9874 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Sun, 12 Feb 2017 22:21:57 +0300 Subject: Various clean-ups * Added sample C program for STM32 to test the core in hardware * Parametrized math modules are now instantiated with explicit operand width for clarify (previously relied on default parameter values in underlying modules) * Fixed some comments --- rtl/curve/curve_dbl_add_256.v | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'rtl/curve') diff --git a/rtl/curve/curve_dbl_add_256.v b/rtl/curve/curve_dbl_add_256.v index 08a9931..8ef505d 100644 --- a/rtl/curve/curve_dbl_add_256.v +++ b/rtl/curve/curve_dbl_add_256.v @@ -1,8 +1,8 @@ //------------------------------------------------------------------------------ // -// curve_adder_256.v +// curve_dbl_add_256.v // ----------------------------------------------------------------------------- -// Elliptic curve point adder. +// Elliptic curve point adder and doubler. // // Authors: Pavel Shatov // @@ -292,7 +292,13 @@ module curve_dbl_add_256 wire [ 32-1:0] mw_mov_din_x; wire [ 32-1:0] mw_mov_dout_y; - mw_mover mw_mover_inst + mw_mover # + ( + .WORD_COUNTER_WIDTH (WORD_COUNTER_WIDTH), + .OPERAND_NUM_WORDS (OPERAND_NUM_WORDS) + + ) + mw_mover_inst ( .clk (clk), .rst_n (rst_n), -- cgit v1.2.3