diff options
author | Robert Ou <rqou@robertou.com> | 2017-06-25 20:58:45 -0700 |
---|---|---|
committer | Robert Ou <rqou@robertou.com> | 2017-06-25 23:58:28 -0700 |
commit | 36b75dfcb71329e378caa88f5390ef9a8598b674 (patch) | |
tree | 91dc59292f1cecaa32f4130c212322a15b2fe294 /techlibs/coolrunner2/synth_coolrunner2.cpp | |
parent | 4af5baab218a78c3af18269db8501031b457ed64 (diff) | |
download | yosys-36b75dfcb71329e378caa88f5390ef9a8598b674.tar.gz yosys-36b75dfcb71329e378caa88f5390ef9a8598b674.tar.bz2 yosys-36b75dfcb71329e378caa88f5390ef9a8598b674.zip |
coolrunner2: Initial mapping of latches
Diffstat (limited to 'techlibs/coolrunner2/synth_coolrunner2.cpp')
-rw-r--r-- | techlibs/coolrunner2/synth_coolrunner2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/techlibs/coolrunner2/synth_coolrunner2.cpp b/techlibs/coolrunner2/synth_coolrunner2.cpp index c58b52cdf..791bcffbe 100644 --- a/techlibs/coolrunner2/synth_coolrunner2.cpp +++ b/techlibs/coolrunner2/synth_coolrunner2.cpp @@ -145,6 +145,7 @@ struct SynthCoolrunner2Pass : public ScriptPass { run("opt -fast -full"); run("techmap"); + run("techmap -map +/coolrunner2/cells_latch.v"); run("dfflibmap -prepare -liberty +/coolrunner2/xc2_dff.lib"); } @@ -160,6 +161,8 @@ struct SynthCoolrunner2Pass : public ScriptPass run("dfflibmap -liberty +/coolrunner2/xc2_dff.lib"); run("dffinit -ff FDCP Q INIT"); run("dffinit -ff FDCP_N Q INIT"); + run("dffinit -ff LDCP Q INIT"); + run("dffinit -ff LDCP_N Q INIT"); run("iopadmap -bits -inpad IBUF O:I -outpad IOBUFE I:IO -inoutpad IOBUFE O:IO -toutpad IOBUFE E:I:IO -tinoutpad IOBUFE E:O:I:IO"); } |