aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-20 19:18:36 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-20 19:18:36 -0700
commitd46dc9c5b4362c1e333979cbbac4f3567904fee5 (patch)
tree1f7b9a765b2def3ca6acf412c1e6282132b582b7 /techlibs/ecp5
parent55acf3120fa47bb95be8a6551738f4f9b1c70a21 (diff)
downloadyosys-d46dc9c5b4362c1e333979cbbac4f3567904fee5.tar.gz
yosys-d46dc9c5b4362c1e333979cbbac4f3567904fee5.tar.bz2
yosys-d46dc9c5b4362c1e333979cbbac4f3567904fee5.zip
ecp5 to use -max_iter 1
Diffstat (limited to 'techlibs/ecp5')
-rw-r--r--techlibs/ecp5/abc_map.v2
-rw-r--r--techlibs/ecp5/cells_sim.v2
-rw-r--r--techlibs/ecp5/synth_ecp5.cc3
3 files changed, 3 insertions, 4 deletions
diff --git a/techlibs/ecp5/abc_map.v b/techlibs/ecp5/abc_map.v
index e8187ed18..ffd25f06d 100644
--- a/techlibs/ecp5/abc_map.v
+++ b/techlibs/ecp5/abc_map.v
@@ -13,7 +13,7 @@ module TRELLIS_DPR16X4 (
parameter [63:0] INITVAL = 64'h0000000000000000;
wire [3:0] \$DO ;
- \$__ABC_DPR16X4_SEQ #(
+ TRELLIS_DPR16X4 #(
.WCKMUX(WCKMUX), .WREMUX(WREMUX), .INITVAL(INITVAL)
) _TECHMAP_REPLACE_ (
.DI(DI), .WAD(WAD), .WRE(WRE), .WCK(WCK),
diff --git a/techlibs/ecp5/cells_sim.v b/techlibs/ecp5/cells_sim.v
index f79a27312..24de0c3c2 100644
--- a/techlibs/ecp5/cells_sim.v
+++ b/techlibs/ecp5/cells_sim.v
@@ -113,7 +113,7 @@ module TRELLIS_DPR16X4 (
input WRE,
input WCK,
input [3:0] RAD,
- output [3:0] DO
+ /* (* abc_arrival=<TODO> *) */ output [3:0] DO
);
parameter WCKMUX = "WCK";
parameter WREMUX = "WRE";
diff --git a/techlibs/ecp5/synth_ecp5.cc b/techlibs/ecp5/synth_ecp5.cc
index 93e1cd5b5..b1d3160ba 100644
--- a/techlibs/ecp5/synth_ecp5.cc
+++ b/techlibs/ecp5/synth_ecp5.cc
@@ -280,11 +280,10 @@ struct SynthEcp5Pass : public ScriptPass
}
std::string techmap_args = "-map +/ecp5/latches_map.v";
if (abc9)
- techmap_args += " -map +/ecp5/abc_map.v";
+ techmap_args += " -map +/ecp5/abc_map.v -max_iter 1";
run("techmap " + techmap_args);
if (abc9) {
- run("read_verilog -icells -lib +/ecp5/abc_model.v");
if (nowidelut)
run("abc9 -lut +/ecp5/abc_5g_nowide.lut -box +/ecp5/abc_5g.box -W 200");
else