add project03 base files

This commit is contained in:
2025-09-02 08:33:16 -04:00
parent 2e8ebbbfd5
commit c2cea97f87
16 changed files with 6361 additions and 0 deletions

17
03/b/RAM16K.hdl Normal file
View File

@@ -0,0 +1,17 @@
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/3/b/RAM16K.hdl
/**
* Memory of 16K 16-bit registers.
* If load is asserted, the value of the register selected by
* address is set to in; Otherwise, the value does not change.
* The value of the selected register is emitted by out.
*/
CHIP RAM16K {
IN in[16], load, address[14];
OUT out[16];
PARTS:
//// Replace this comment with your code.
}

1026
03/b/RAM16K.tst Normal file

File diff suppressed because it is too large Load Diff

17
03/b/RAM4K.hdl Normal file
View File

@@ -0,0 +1,17 @@
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/3/b/RAM4K.hdl
/**
* Memory of 4K 16-bit registers.
* If load is asserted, the value of the register selected by
* address is set to in; Otherwise, the value does not change.
* The value of the selected register is emitted by out.
*/
CHIP RAM4K {
IN in[16], load, address[12];
OUT out[16];
PARTS:
//// Replace this comment with your code.
}

1026
03/b/RAM4K.tst Normal file

File diff suppressed because it is too large Load Diff

17
03/b/RAM512.hdl Normal file
View File

@@ -0,0 +1,17 @@
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/3/b/RAM512.hdl
/**
* Memory of 512 16-bit registers.
* If load is asserted, the value of the register selected by
* address is set to in; Otherwise, the value does not change.
* The value of the selected register is emitted by out.
*/
CHIP RAM512 {
IN in[16], load, address[9];
OUT out[16];
PARTS:
//// Replace this comment with your code.
}

1027
03/b/RAM512.tst Normal file

File diff suppressed because it is too large Load Diff