From: whitequark Date: Wed, 10 Aug 2016 20:09:35 +0000 (+0000) Subject: synth_greenpak4: use attrmvcp to move LOC from wires to cells. X-Git-Tag: yosys-0.7~144^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0515809448d11beae27a6199ea02c59b36b58299;p=yosys.git synth_greenpak4: use attrmvcp to move LOC from wires to cells. --- 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"); }