summaryrefslogtreecommitdiff
path: root/mem
diff options
context:
space:
mode:
authorJulian Blake Kongslie2021-03-24 08:35:07 -0700
committerJulian Blake Kongslie2021-03-24 08:50:57 -0700
commit5c1df6d27f5dac143efc9ce84689b863dbee45bd (patch)
tree9bb9c9bcab00e7d5a5d1b40467d8e5a810f0b706 /mem
parentClean before building. (diff)
downloadtoycpu-5c1df6d27f5dac143efc9ce84689b863dbee45bd.tar.xz
Reorganize repo layout to make it a little easier to work within.
Diffstat (limited to 'mem')
-rw-r--r--mem/jtag_uart.hex6
-rw-r--r--mem/rom.hex18
2 files changed, 24 insertions, 0 deletions
diff --git a/mem/jtag_uart.hex b/mem/jtag_uart.hex
new file mode 100644
index 0000000..504999f
--- /dev/null
+++ b/mem/jtag_uart.hex
@@ -0,0 +1,6 @@
1@0
2
3// "Hello, FPGA!\n"
448 65 6c 6c 6f 2c 20 46 50 47 41 21 0a
5
600
diff --git a/mem/rom.hex b/mem/rom.hex
new file mode 100644
index 0000000..ee75917
--- /dev/null
+++ b/mem/rom.hex
@@ -0,0 +1,18 @@
1@0
2
3// "Hello, world!\n"
448 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a
5
6// "I will now echo your input: "
749 20 77 69 6c 6c 20 6e 6f 77 20 65 63 68 6f 20
879 6f 75 72 20 69 6e 70 75 74 3a 20
9
10// At this point, will switch to ECHO mode until it reads a newline.
1100
12
13// "The Fibonacci sequence: "
1454 68 65 20 46 69 62 6f 6e 61 63 63 69 20 73 65
1571 75 65 6e 63 65 3a 20
16
17// At this point, will switch to FIB mode until end of time.
1800