aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-05-04 17:13:54 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-05-04 17:13:54 -0700
commit2096a05ec2aaecb89316c5a229b497c21c2327f9 (patch)
treec6da1bec0741f5487ce54e36cd6bcdb08d6b56f9 /techlibs/greenpak4
parent3486637b19030bc65af77c99c282ff5a7e610ee8 (diff)
downloadyosys-2096a05ec2aaecb89316c5a229b497c21c2327f9.tar.gz
yosys-2096a05ec2aaecb89316c5a229b497c21c2327f9.tar.bz2
yosys-2096a05ec2aaecb89316c5a229b497c21c2327f9.zip
Changed order of passes for better handling of INIT attributes on "output reg" FFs
Diffstat (limited to 'techlibs/greenpak4')
-rw-r--r--techlibs/greenpak4/synth_greenpak4.cc4
1 files changed, 2 insertions, 2 deletions
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");
}