aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/greenpak4/synth_greenpak4.cc
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-03-30 22:40:14 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-03-30 22:40:14 -0700
commit1ae33344f4f18f4fbb899e4635659bf1cd8f0448 (patch)
tree519cabc76d58f68d4c51da19e24f7dc551e6072e /techlibs/greenpak4/synth_greenpak4.cc
parent1b42e0c471ba81843e3fbd1869e84b36f8a24c2f (diff)
downloadyosys-1ae33344f4f18f4fbb899e4635659bf1cd8f0448.tar.gz
yosys-1ae33344f4f18f4fbb899e4635659bf1cd8f0448.tar.bz2
yosys-1ae33344f4f18f4fbb899e4635659bf1cd8f0448.zip
Added initial implementation of "counters" pass to synth_greenpak4. Can only infer non-resettable down counters for now.
Diffstat (limited to 'techlibs/greenpak4/synth_greenpak4.cc')
-rw-r--r--techlibs/greenpak4/synth_greenpak4.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/greenpak4/synth_greenpak4.cc b/techlibs/greenpak4/synth_greenpak4.cc
index 872ad5a2c..29daa9f96 100644
--- a/techlibs/greenpak4/synth_greenpak4.cc
+++ b/techlibs/greenpak4/synth_greenpak4.cc
@@ -187,6 +187,8 @@ struct SynthGreenPAK4Pass : public Pass {
if (check_label(active, run_from, run_to, "fine"))
{
+ Pass::call(design, "counters");
+ Pass::call(design, "clean");
Pass::call(design, "opt -fast -mux_undef -undriven -fine");
Pass::call(design, "memory_map");
Pass::call(design, "opt -undriven -fine");