aboutsummaryrefslogtreecommitdiff
path: root/tools/builtInChips/ROM32K.hdl
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2018-01-20 15:41:49 +0100
committerYuchen Pei <me@ypei.me>2018-01-20 15:41:49 +0100
commitd3a0cc3a8ba6dfeb64d3faeffdeb6845b60e5840 (patch)
treed58df9ec2480e2a9ec6240f9c797f83d1a0b1056 /tools/builtInChips/ROM32K.hdl
parent3571f998b28fbc8d9250ba04c983935f10a16c15 (diff)
rearranged the dir for github
- removed tools and pdfs - rearranged the projects dirs - added md files - other minor changes
Diffstat (limited to 'tools/builtInChips/ROM32K.hdl')
-rw-r--r--tools/builtInChips/ROM32K.hdl30
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/builtInChips/ROM32K.hdl b/tools/builtInChips/ROM32K.hdl
deleted file mode 100644
index 929f824..0000000
--- a/tools/builtInChips/ROM32K.hdl
+++ /dev/null
@@ -1,30 +0,0 @@
-// This file is part of www.nand2tetris.org
-// and the book "The Elements of Computing Systems"
-// by Nisan and Schocken, MIT Press.
-// File name: tools/builtIn/ROM32K.hdl
-
-/**
- * Read-Only memory (ROM) of 16K registers, each 16-bit wide.
- * The chip is designed to facilitate data read, as follows:
- * out(t) = ROM32K[address(t)](t)
- * In words: the chip always outputs the value stored at the
- * memory location specified by address.
- *
- * The built-in chip implementation has a GUI side-effect,
- * showing an array-like component that displays the ROM's
- * contents. The ROM32K chip is supposed to be pre-loaded with
- * a machine language program. To that end, the built-in chip
- * implementation also knows how to handle the "ROM32K load Xxx"
- * script command, where Xxx is the name of a text file containing
- * a program written in the Hack machine language. When the
- * simulator encounters such a command in a test script, the code
- * found in the file is loaded into the simulated ROM32K unit.
- */
-
-CHIP ROM32K {
-
- IN address[15];
- OUT out[16];
-
- BUILTIN ROM32K;
-}