3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Added initial implementation of "counters" pass to synth_greenpak4. Can only infer non-resettable down counters for now.

This commit is contained in:
Andrew Zonenberg 2016-03-30 22:40:14 -07:00
parent 1b42e0c471
commit 1ae33344f4
2 changed files with 39 additions and 25 deletions

View file

@ -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");