diff options
Diffstat (limited to 'test/e2e/fibo')
| -rw-r--r-- | test/e2e/fibo/test_fibo.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/e2e/fibo/test_fibo.py b/test/e2e/fibo/test_fibo.py index 65af07a..664e701 100644 --- a/test/e2e/fibo/test_fibo.py +++ b/test/e2e/fibo/test_fibo.py @@ -22,13 +22,6 @@ def test_fibo(): elapsed = end - start print("Elapsed time:", elapsed, "ns") steps_taken = machine.steps_taken - - # VGA frequency is 25.175 MHz - # Divided by 16, that's 1.5734375 MHz (main clock) - # Instructions take 3–5 cycles, the average instruction takes around 4 cycles - # 1.5734375 MHz / 4 = 393359.375 Hz - # That is the goal instruction frequency - # TODO limit emulation speed to 393359.375 Hz print("Instructions / second:", steps_taken / (elapsed / 1e9)) assert machine.ra.value == 41443 |
