aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/anlogic/synth_anlogic.cc
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-07-16 18:07:58 +0200
committerGitHub <noreply@github.com>2020-07-16 18:07:58 +0200
commit910f4213247a69e1214aac70a552eec0a21d4275 (patch)
treee36ea01f3eaaeda369c9b2f32f6d01e4c1d3fefb /techlibs/anlogic/synth_anlogic.cc
parentb74eb598bc7dbf76d3308155a709325b820c4e99 (diff)
parent3050454d6e80ddb7603f7d5cc117b440a6bd8ab8 (diff)
downloadyosys-910f4213247a69e1214aac70a552eec0a21d4275.tar.gz
yosys-910f4213247a69e1214aac70a552eec0a21d4275.tar.bz2
yosys-910f4213247a69e1214aac70a552eec0a21d4275.zip
Merge pull request #2238 from YosysHQ/mwk/dfflegalize-anlogic
anlogic: Use dfflegalize.
Diffstat (limited to 'techlibs/anlogic/synth_anlogic.cc')
-rw-r--r--techlibs/anlogic/synth_anlogic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/anlogic/synth_anlogic.cc b/techlibs/anlogic/synth_anlogic.cc
index d7475df86..d953fae5e 100644
--- a/techlibs/anlogic/synth_anlogic.cc
+++ b/techlibs/anlogic/synth_anlogic.cc
@@ -182,8 +182,8 @@ struct SynthAnlogicPass : public ScriptPass
if (check_label("map_ffs"))
{
+ run("dfflegalize -cell $_DFFE_P??P_ r -cell $_SDFFE_P??P_ r -cell $_DLATCH_N??_ r");
run("techmap -D NO_LUT -map +/anlogic/cells_map.v");
- run("dffinit -strinit SET RESET -ff AL_MAP_SEQ q REGSET -noreinit");
run("opt_expr -mux_undef");
run("simplemap");
}