Skip to content

Commit

Permalink
Commented out checker for debug purposes. Algorithm validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
calonso88 committed Apr 14, 2024
1 parent 65cd509 commit 980def8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async def test_spi(dut):
# ITERATIONS
iterations = 0

while iterations < 4:
while iterations < 100:

while True:
p = random.randint(min_prime, max_upper_boundary)
Expand Down Expand Up @@ -381,9 +381,9 @@ async def test_spi(dut):
cocotb.log.info(f"Encrypted text design: {encrypted_text_design}")

assert plain_text == decrypted_text
# DEBUG
assert encrypted_text == encrypted_text_mem
assert encrypted_text == encrypted_text_design
# DEBUG
#assert encrypted_text == encrypted_text_design
# DEBUG

# Write reg[0] = 0x00
Expand Down

0 comments on commit 980def8

Please sign in to comment.