John Mavrick's Garden

Search IconIcon to open search

Last updated Unknown

Status: Links: Computer Gates


DMux8Way Gate

Notes

Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
CHIP DMux8Way {
    IN in, sel[3];
    OUT a, b, c, d, e, f, g, h;

    PARTS:
	DMux(in=in, sel=sel[2], a=dmux1, b=dmux2);
    DMux4Way(in=dmux1, sel[0..1]=sel[0..1], a=a, b=b, c=c, d=d);
	DMux4Way(in=dmux2, sel[0..1]=sel[0..1], a=e, b=f, c=g, d=h);
	
}

Truth Table



Interactive Graph