{
public GUIinc12(ViewModelModifiable model, String name)
{
- super(model, name, "Incrementer");
+ super(model, "GUIinc12", name, "Incrementer");
setSize(40, 20);
addPin(new Pin(this, "A", 12, PinUsage.INPUT, 20, 20), Position.TOP);
addPin(new Pin(this, "CI", 1, PinUsage.INPUT, 40, 10), Position.LEFT);
{
Bit carry = Bit.ONE;
// TODO extract to helper. This code almost also exists in GUIAM2910RegCntr.
- // TODO maybe invert loop direction
for (int i = 11; i >= 0; i--)
{
Bit a = ABits[i];