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

Added RESET_TO_MAX parameter to $__COUNT_ cell. Cannot yet be extracted.

This commit is contained in:
Andrew Zonenberg 2017-09-13 15:47:06 -07:00
parent 0484ad666d
commit 122532b7e1
3 changed files with 5 additions and 2 deletions

View file

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