We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d283a3f commit e36eaa5Copy full SHA for e36eaa5
kernel/graphtools.h
@@ -40,7 +40,7 @@ class CellSimplifier {
40
} else {
41
reduced_b_width = new_width;
42
T lower_b = factory.slice(b, b_width, 0, new_width);
43
- T overflow = factory.gt(b, factory.constant(RTLIL::Const(y_width, b_width)), b_width);
+ T overflow = factory.ugt(b, factory.constant(RTLIL::Const(y_width, b_width)), b_width);
44
return factory.mux(lower_b, factory.constant(RTLIL::Const(y_width, new_width)), overflow, new_width);
45
}
46
0 commit comments