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:
brad ArantandClaude Opus 5.5 committed 2026-12-01 07:26:59 -08:00
1 parent bda9bb67b6
commit 2dafda5fe5
14 files changed
+78 -51

No files matched your search

+2 -2
View File
@@ -32,9 +32,9 @@ module basys3_terminal #(
parameter MON_FILE = "monitor.mem",
parameter WIDE_BOOT = 1, // the screen starts at 132x64 (0: 80x32)
parameter CLK_HZ = 100_000_000,
parameter real CPU_MULT = 9.0, // CPU clock = 100 MHz * CPU_MULT / CPU_DIV
parameter real CPU_MULT = 10.0, // CPU clock = 100 MHz * CPU_MULT / CPU_DIV
parameter real CPU_DIV = 10.0,
parameter CPU_HZ = 90_000_000,
parameter CPU_HZ = 100_000_000,
parameter ROM_TOP = 32'h0000_A000 // BASIC's code is below; writes there are ignored
) (
input clk,