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
+1
-1
@@ -4,7 +4,7 @@ set root [file normalize [file dirname [info script]]/..]
|
||||
set out $root/build
|
||||
file mkdir $out
|
||||
|
||||
set mult [expr {[info exists ::env(CPU_MULT)] ? $::env(CPU_MULT) : 9.0}]
|
||||
set mult [expr {[info exists ::env(CPU_MULT)] ? $::env(CPU_MULT) : 10.0}]
|
||||
set div [expr {[info exists ::env(CPU_DIV)] ? $::env(CPU_DIV) : 10.0}]
|
||||
set hz [expr {int(round(100e6 * $mult / $div))}]
|
||||
puts "CPU clock: [expr {$hz / 1e6}] MHz"
|
||||
|
||||
Reference in new issue
Block a user