From f8f03fb60a593e1b8d6877b31cf968cf02e7284c Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 17 Nov 2022 08:54:25 -0600 Subject: Fix sim --- tb/sim/descifrador.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tb/sim/descifrador.py b/tb/sim/descifrador.py index 2253e6f..0e0fb71 100644 --- a/tb/sim/descifrador.py +++ b/tb/sim/descifrador.py @@ -9,12 +9,8 @@ mem_dumps = [range(START, START + SIZE)] def final(): words = [] - i = 0 with open(FILE, 'rb') as file: while data := file.read(4): words.append(int.from_bytes(data, 'little') ^ 0x00ffffff) - i += 1 - if i == 10: - break assert_mem(START, words) -- cgit v1.2.3