From 4f00f40d9e917cb1df464cfdf59a8980cfb647d1 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Thu, 6 Sep 2018 12:28:01 +0300 Subject: 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(-) (limited to 'rtl/curve') 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), -- cgit v1.2.3