3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 10:25:19 +00:00

Ooops AREG and BREG to default to -1

This commit is contained in:
Eddie Hung 2019-09-27 11:57:53 -07:00
parent 26657037b8
commit aebbfffd71

View file

@ -146,7 +146,7 @@ code next
endcode
code argQ clock AREG
AREG = 0;
AREG = -1;
if (next) {
Cell *prev = std::get<0>(chain.back());
if (param(prev, \AREG, 2).as_int() > 0 &&
@ -175,7 +175,7 @@ reject_AREG: ;
endcode
code argQ clock BREG
BREG = 0;
BREG = -1;
if (next) {
Cell *prev = std::get<0>(chain.back());
if (param(prev, \BREG, 2).as_int() > 0 &&