diff options
author | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-03-30 22:40:14 -0700 |
---|---|---|
committer | Andrew Zonenberg <azonenberg@drawersteak.com> | 2016-03-30 22:40:14 -0700 |
commit | 1ae33344f4f18f4fbb899e4635659bf1cd8f0448 (patch) | |
tree | 519cabc76d58f68d4c51da19e24f7dc551e6072e /techlibs/greenpak4/synth_greenpak4.cc | |
parent | 1b42e0c471ba81843e3fbd1869e84b36f8a24c2f (diff) | |
download | yosys-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.cc | 2 |
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"); |