summaryrefslogtreecommitdiff
path: root/tb/sim/descifrador.py
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-10-04 16:46:57 -0600
committerAlejandro Soto <alejandro@34project.org>2023-10-04 16:46:57 -0600
commit865a1e8ca820da17a9f9c034677a7a959ddaee36 (patch)
tree8331511442ce7746e58fb798b2ad036915ac68be /tb/sim/descifrador.py
parent972678950297ab158541a8afec2cbcd01a996959 (diff)
app, doc, image_processing, tb/sim/descifrador: remove;5D
Diffstat (limited to '')
-rw-r--r--tb/sim/descifrador.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/tb/sim/descifrador.py b/tb/sim/descifrador.py
deleted file mode 100644
index a77375b..0000000
--- a/tb/sim/descifrador.py
+++ /dev/null
@@ -1,20 +0,0 @@
-LOG = 'image_processing/log'
-FILE = 'image_processing/out_file'
-SIZE = 640 * 480 * 4
-START = 0x10000
-
-loads = {START: FILE}
-consts = {0x30050000: 1, 0x30060000: 0}
-cycles = 23000000
-mem_dumps = [range(START, START + SIZE)]
-enable_video = True
-
-def final():
- words = []
- with open(FILE, 'rb') as file:
- while data := file.read(4):
- words.append(int.from_bytes(data, 'little') ^ 0x00ffffff)
-
- assert_mem(START, words)
- with open(LOG, 'w') as log:
- print(read_mem(START, SIZE), file=log)