[Cryptech-Commits] [core/pkey/ecdsa256] 01/02: Turned ROMs into distributed memories, otherwise synthesizer was combining them into a single block ROM which hurt placement and routing.

git at cryptech.is git at cryptech.is
Thu Sep 6 09:31:16 UTC 2018


This is an automated email from the git hooks/post-receive script.

meisterpaul1 at yandex.ru pushed a commit to branch master
in repository core/pkey/ecdsa256.

commit 4f00f40d9e917cb1df464cfdf59a8980cfb647d1
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Thu Sep 6 12:28:01 2018 +0300

    Turned ROMs into distributed memories, otherwise synthesizer was combining them
    into a single block ROM which hurt placement and routing.
---
 rtl/curve/curve_mul_256.v | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/rtl/curve/curve_mul_256.v b/rtl/curve/curve_mul_256.v
index 423c863..43e2c7b 100644
--- a/rtl/curve/curve_mul_256.v
+++ b/rtl/curve/curve_mul_256.v
@@ -230,23 +230,22 @@ module curve_mul_256
    wire [19: 0] 		     op_rom_conv_data;
    reg [19: 0] 			     op_rom_mux_data;
 
-   (* RAM_STYLE="BLOCK" *)
+   (* EQUIVALENT_REGISTER_REMOVAL="NO" *)
    uop_init_rom op_rom_init
      (
       .clk	(clk),
       .addr	(op_rom_addr),
       .data	(op_rom_init_data)
       );
-
-   (* RAM_STYLE="BLOCK" *)
+   (* EQUIVALENT_REGISTER_REMOVAL="NO" *)
    uop_dbl_rom op_rom_dbl
      (
       .clk	(clk),
       .addr	(op_rom_addr),
       .data	(op_rom_dbl_data)
       );
-
-   (* RAM_STYLE="BLOCK" *)
+      
+   (* EQUIVALENT_REGISTER_REMOVAL="NO" *)
    uop_add_rom op_rom_add
      (
       .clk	(clk),
@@ -254,7 +253,7 @@ module curve_mul_256
       .data	(op_rom_add_data)
       );
 
-   (* RAM_STYLE="BLOCK" *)
+   (* EQUIVALENT_REGISTER_REMOVAL="NO" *)
    uop_conv_rom op_rom_conv
      (
       .clk	(clk),



More information about the Commits mailing list