diff options
author | Andrew Zonenberg <azonenberg@drawersteak.com> | 2017-09-13 15:47:06 -0700 |
---|---|---|
committer | Andrew Zonenberg <azonenberg@drawersteak.com> | 2017-09-14 10:26:32 -0700 |
commit | 122532b7e137a53a91be155668687246a25d27e7 (patch) | |
tree | 9b1dc818cc24503b83a0c107f4d1b9e60c6c08bd /passes/techmap | |
parent | 0484ad666d765c84d7a06a97ee9c7f6280733ed8 (diff) | |
download | yosys-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')
-rw-r--r-- | passes/techmap/extract_counter.cc | 1 |
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)); |