Projekt 5 beendet, ein Krampf
This commit is contained in:
@@ -27,5 +27,10 @@ CHIP Memory {
|
||||
OUT out[16];
|
||||
|
||||
PARTS:
|
||||
// Put your code here:
|
||||
DMux4Way(in=load,sel=address[13..14],a=ram1,b=ram2,c=loadscreen,d=loadkeyboard);
|
||||
Or(a=ram1, b=ram2, out=ramload);
|
||||
RAM16K(in=in, load=ramload, address=address[0..13], out=outram);
|
||||
Screen(in=in, load=loadscreen, address=address[0..12], out=outscreen);
|
||||
Keyboard(out=outkeyb);
|
||||
Mux4Way16(a=outram, b=outram, c=outscreen, d=outkeyb, sel=address[13..14], out=out);
|
||||
}
|
||||
Reference in New Issue
Block a user