Run the CPU at 100 MHz
The FPU picks the FADD/FSUB operands and works out exponents and leading zeros as it takes them, and finds the back end's leading one a clock before using it; those were the paths that held the design to 91 MHz. Add, multiply and the multiply-adds now take 13 clocks, divide and square root 37, int -> float 9. Setup slack at 100 MHz is +0.286 ns. On the board: an empty FOR loop 6.4 us (was 8.3), SIN 33 us (was 37). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bda9bb67b6
commit
2dafda5fe5
14 files changed
+78
-51
No files matched your search
@@ -5,7 +5,7 @@ and take screenshots.
|
||||
python3 test-raid.py [--shots DIR] [--play]
|
||||
|
||||
It checks the title screen, measures the Z-80 instructions each frame takes
|
||||
(a 60 Hz frame has about 550,000 at 90 MHz), flies into the fortress, and with
|
||||
(a 60 Hz frame has about 610,000 at 100 MHz), flies into the fortress, and with
|
||||
--play lets an autopilot fly the whole level: it steers through every doorway
|
||||
at the right height, climbs over low walls and shoots ahead. The autopilot
|
||||
can't be hit by shells or fighters (it keeps the ship invulnerable), so this
|
||||
@@ -57,7 +57,7 @@ def main():
|
||||
c0 = b.steps
|
||||
b.run_frames(60)
|
||||
per = (b.steps - c0) / 60
|
||||
print("%.0f instructions a frame (%.0f%% of a 60 Hz frame at 90 MHz)" % (per, per / 5500))
|
||||
print("%.0f instructions a frame (%.0f%% of a 60 Hz frame at 100 MHz)" % (per, per / 6100))
|
||||
check("a frame fits in a 60th of a second", per < 500000)
|
||||
if a.shots: b.shot(os.path.join(a.shots, "2-approach.png"), font)
|
||||
alt0 = b.m[sym["_alt"]]
|
||||
|
||||
Reference in new issue
Block a user