From 1ae33344f4f18f4fbb899e4635659bf1cd8f0448 Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Wed, 30 Mar 2016 22:40:14 -0700 Subject: Added initial implementation of "counters" pass to synth_greenpak4. Can only infer non-resettable down counters for now. --- techlibs/greenpak4/synth_greenpak4.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'techlibs') 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"); -- cgit v1.2.3