aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/synth/simple_map.v
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/synth/simple_map.v')
-rw-r--r--ecp5/synth/simple_map.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/ecp5/synth/simple_map.v b/ecp5/synth/simple_map.v
index 4a50fd01..550fa92c 100644
--- a/ecp5/synth/simple_map.v
+++ b/ecp5/synth/simple_map.v
@@ -25,7 +25,7 @@ module \$lut (A, Y);
if (WIDTH == 1) begin
TRELLIS_SLICE #(
.MODE("LOGIC"),
- .LUT0_INITVAL(LUT)
+ .LUT0_INITVAL({8{LUT[1:0]}})
) _TECHMAP_REPLACE_ (
.A0(A[0]),
.F0(Y)
@@ -34,7 +34,7 @@ module \$lut (A, Y);
if (WIDTH == 2) begin
TRELLIS_SLICE #(
.MODE("LOGIC"),
- .LUT0_INITVAL(LUT)
+ .LUT0_INITVAL({4{LUT[3:0]}})
) _TECHMAP_REPLACE_ (
.A0(A[0]),
.B0(A[1]),
@@ -44,7 +44,7 @@ module \$lut (A, Y);
if (WIDTH == 3) begin
TRELLIS_SLICE #(
.MODE("LOGIC"),
- .LUT0_INITVAL(LUT)
+ .LUT0_INITVAL({2{LUT[7:0]}})
) _TECHMAP_REPLACE_ (
.A0(A[0]),
.B0(A[1]),