{
public GUIAm2910RegCntr(ViewModelModifiable model, String name)
{
- super(model, name, "Register/\nCounter");
+ super(model, "GUIAm2910RegCntr", name, "Register/\nCounter");
setSize(40, 40);
addPin(new Pin(this, "D", 12, PinUsage.INPUT, 20, 0), Position.BOTTOM);
addPin(new Pin(this, "_RLD", 1, PinUsage.INPUT, 0, 5), Position.RIGHT);
{
Bit carry = Bit.ZERO;
// TODO extract to helper. This code almost also exists in GUIinc12.
- // TODO maybe invert loop direction
for (int i = 11; i >= 0; i--)
{
Bit a = QC[i];