Changeset 3df578dd6198…
Parent 7f0d3feedb0b…
by Benjamin Pollack
Changes to one file · Browse files at 3df578dd6198 Showing diff from parent 7f0d3feedb0b Diff from another changeset...
@@ -16,16 +16,7 @@ OUT a, b, c, d;
PARTS:
- Not(in=sel[0], out=notsel0);
- Not(in=sel[1], out=notsel1);
-
- And(a=notsel1, b=notsel0, out=picka);
- And(a=notsel1, b=sel[0], out=pickb);
- And(a=sel[1], b=notsel0, out=pickc);
- And(a=sel[1], b=sel[0], out=pickd);
-
- And(a=in, b=picka, out=a);
- And(a=in, b=pickb, out=b);
- And(a=in, b=pickc, out=c);
- And(a=in, b=pickd, out=d);
+ DMux(in=in, sel=sel[1], a=ab, b=cd);
+ DMux(in=ab, sel=sel[0], a=a, b=b);
+ DMux(in=cd, sel=sel[0], a=c, b=d);
}
|
Loading...