aboutsummaryrefslogtreecommitdiff
path: root/rtl/curve
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-09-06 12:28:01 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-09-06 12:28:01 +0300
commit4f00f40d9e917cb1df464cfdf59a8980cfb647d1 (patch)
tree78d9c25edac529a94e53064e2d30d40ecd11c6fd /rtl/curve
parentbbca08857a55439eae903b891fcc7de5ebea61a7 (diff)
Turned ROMs into distributed memories, otherwise synthesizer was combining them
into a single block ROM which hurt placement and routing.
Diffstat (limited to 'rtl/curve')
-rw-r--r--rtl/curve/curve_mul_256.v11
1 files 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),