diff options
author | whitequark <whitequark@whitequark.org> | 2016-08-10 20:09:35 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2016-08-10 20:09:35 +0000 |
commit | 0515809448d11beae27a6199ea02c59b36b58299 (patch) | |
tree | 0bc8e5443364fd771c117b29a2b9b0d62a6a939e /techlibs/greenpak4 | |
parent | e9fe57c75e225f80156ceabbc10741c3cfee1c87 (diff) | |
download | yosys-0515809448d11beae27a6199ea02c59b36b58299.tar.gz yosys-0515809448d11beae27a6199ea02c59b36b58299.tar.bz2 yosys-0515809448d11beae27a6199ea02c59b36b58299.zip |
synth_greenpak4: use attrmvcp to move LOC from wires to cells.
Diffstat (limited to 'techlibs/greenpak4')
-rw-r--r-- | techlibs/greenpak4/synth_greenpak4.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc index c8f81a18d..295db1e8e 100644 --- a/techlibs/greenpak4/synth_greenpak4.cc +++ b/techlibs/greenpak4/synth_greenpak4.cc @@ -182,6 +182,8 @@ struct SynthGreenPAK4Pass : public ScriptPass run("dffinit -ff GP_DFFS Q INIT"); run("dffinit -ff GP_DFFSR Q INIT"); run("iopadmap -bits -inpad GP_IBUF OUT:IN -outpad GP_OBUF IN:OUT -inoutpad GP_OBUF OUT:IN -toutpad GP_OBUFT OE:IN:OUT -tinoutpad GP_IOBUF OE:OUT:IN:IO"); + run("attrmvcp -attr src -attr LOC t:GP_OBUF t:GP_OBUFT t:GP_IOBUF n:*"); + run("attrmvcp -attr src -attr LOC -driven t:GP_IBUF n:*"); run("techmap -map +/greenpak4/cells_map.v"); run("clean"); } |