From: Andrew Zonenberg Date: Thu, 5 May 2016 00:13:54 +0000 (-0700) Subject: Changed order of passes for better handling of INIT attributes on "output reg" FFs X-Git-Tag: yosys-0.7~233^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2096a05ec2aaecb89316c5a229b497c21c2327f9;p=yosys.git Changed order of passes for better handling of INIT attributes on "output reg" FFs --- diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc index fd7a8567a..b7296055a 100644 --- a/techlibs/greenpak4/synth_greenpak4.cc +++ b/techlibs/greenpak4/synth_greenpak4.cc @@ -176,13 +176,13 @@ struct SynthGreenPAK4Pass : public ScriptPass if (check_label("map_cells")) { run("shregmap -tech greenpak4"); - 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("dfflibmap -liberty +/greenpak4/gp_dff.lib"); - run("techmap -map +/greenpak4/cells_map.v"); run("dffinit -ff GP_DFF Q INIT"); run("dffinit -ff GP_DFFR Q INIT"); 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("techmap -map +/greenpak4/cells_map.v"); run("clean"); }