aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/extract_counter.cc
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2017-09-13 15:47:06 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2017-09-14 10:26:32 -0700
commit122532b7e137a53a91be155668687246a25d27e7 (patch)
tree9b1dc818cc24503b83a0c107f4d1b9e60c6c08bd /passes/techmap/extract_counter.cc
parent0484ad666d765c84d7a06a97ee9c7f6280733ed8 (diff)
downloadyosys-122532b7e137a53a91be155668687246a25d27e7.tar.gz
yosys-122532b7e137a53a91be155668687246a25d27e7.tar.bz2
yosys-122532b7e137a53a91be155668687246a25d27e7.zip
Added RESET_TO_MAX parameter to $__COUNT_ cell. Cannot yet be extracted.
Diffstat (limited to 'passes/techmap/extract_counter.cc')
-rw-r--r--passes/techmap/extract_counter.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/techmap/extract_counter.cc b/passes/techmap/extract_counter.cc
index 3746a3cb6..1e20b1fd8 100644
--- a/passes/techmap/extract_counter.cc
+++ b/passes/techmap/extract_counter.cc
@@ -493,6 +493,7 @@ void counter_worker(
//Hook up hard-wired ports (for now up/down are not supported), default to no parallel output
cell->setParam("\\HAS_POUT", RTLIL::Const(0));
+ cell->setParam("\\RESET_TO_MAX", RTLIL::Const(0));
cell->setParam("\\DIRECTION", RTLIL::Const("DOWN"));
cell->setPort("\\CE", RTLIL::Const(1));
cell->setPort("\\UP", RTLIL::Const(0));