aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5/synth_ecp5.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2021-09-09 10:05:55 -0700
committerGitHub <noreply@github.com>2021-09-09 10:05:55 -0700
commitf03e2c30aa3ad92bffb7ecd7179fe859d1b993b0 (patch)
tree46a0d4a5467a936ae88d56dd310d5c64326798ab /techlibs/ecp5/synth_ecp5.cc
parent50be8fd0c23856be7afa28527fe4f30dcc975c87 (diff)
downloadyosys-f03e2c30aa3ad92bffb7ecd7179fe859d1b993b0.tar.gz
yosys-f03e2c30aa3ad92bffb7ecd7179fe859d1b993b0.tar.bz2
yosys-f03e2c30aa3ad92bffb7ecd7179fe859d1b993b0.zip
abc9: replace cell type/parameters if derived type already processed (#2991)
* Add close bracket * Add testcase * Replace cell type/param if in unmap_design * Improve abc9_box error message too * Update comment as per review
Diffstat (limited to 'techlibs/ecp5/synth_ecp5.cc')
-rw-r--r--techlibs/ecp5/synth_ecp5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/ecp5/synth_ecp5.cc b/techlibs/ecp5/synth_ecp5.cc
index 2df9a1f87..dc67fc71b 100644
--- a/techlibs/ecp5/synth_ecp5.cc
+++ b/techlibs/ecp5/synth_ecp5.cc
@@ -326,7 +326,7 @@ struct SynthEcp5Pass : public ScriptPass
}
run("dfflegalize" + dfflegalize_args, "($_DFFSR_*_ only if -asyncprld, $_*DFFE_* only if not -nodffe)");
if ((abc9 && dff) || help_mode)
- run("zinit -all w:* t:$_DFF_?_ t:$_DFFE_??_ t:$_SDFF*", "(only if -abc9 and -dff");
+ run("zinit -all w:* t:$_DFF_?_ t:$_DFFE_??_ t:$_SDFF*", "(only if -abc9 and -dff)");
run(stringf("techmap -D NO_LUT %s -map +/ecp5/cells_map.v", help_mode ? "[-D ASYNC_PRLD]" : (asyncprld ? "-D ASYNC_PRLD" : "")));
run("opt_expr -undriven -mux_undef");
run("simplemap");