01 / Open-Source Out-of-Order RISC-V Processor & SMP SoC · Slice-2.5 Frozen

FURSOY CPU

fursoy_s1_core + fursoy_s2_soc — 64-bit, 2-wide out-of-order superscalar RISC-V processor in SystemVerilog (RV64IMAFD + Zba + Zbb + Zicsr + Zifencei + RVV 1.0 integer subset (prototype) + Sv39), scaled into a 1–4 hart directory-tracked MESI SMP cluster booting mainline Linux 6.6.50 (CONFIG_SMP=y + CONFIG_FPU=y), verified with official RISCOF (245/245), 157,972-inst Sail fuzzing, 10,000-iter RVWMO litmus, industry benchmarks, and honest whole-core Nangate 45nm OpenSTA.

RISCOF & SAIL FUZZ 245 / 245 PASS 10 RISCOF suites · 157,972 fuzzed insts (20 seeds) · 10k-iter RVWMO litmus · 0 mismatches
LINUX 6.6.50 SMP + FPU N=2 & N=4 45.28M cyc (1.064 IPC) · 52.73M cyc (1.210 IPC) · 4,608 FP reg checks across 5 frm modes
INDUSTRY BENCHMARKS 3.77 CM/MHz CoreMark 15.22 @ N=4 · Embench 19/19 (1.287 IPC, 1.94× M4) · STREAM Triad 10.7 GB/s*
WHOLE-CORE STA (S2.5-M4) 32/40 MET · 8 Walls 35/37 core + 5 SMP blocks @ 500 MHz (0 W1216/441) · worst wall int_iq 45.7 MHz · 2 timeouts

02 / Core Microarchitecture & Pipeline

2-wide superscalar OoO core & interactive block explorer

Select any subsystem in the diagram or tabs below to inspect verified Slice-2.5 RTL parameters, synthesizable arithmetic units, whole-core OpenSTA timing margins (including the 8 Fmax walls), and source modules in rtl/core/ and rtl/platform/.

2×32b INSTR STREAM 2 uops 2 uops / cyc ALLOCATE & DISPATCH Port 0 (1W) Port 1 (1W) Port 2 AGU0 Port 3 AGU1 Port 4 (1W FP) 256b VRF · 128b SIMD 64b EA -> Sv39 p0+p1 64b Mem / Indexed RVV snoop VC0_RD / VC0_WR / VC1 / VC2 (512b) · COHERENT L1I / PTW · 64b MMIO TIER 01 · FETCH & BRANCH PREDICTION (F0–F4) TIER 02 · DECODE, RENAME & 16 SPECULATIVE CHECKPOINTS (D0 / RN / DS) TIER 03 · 128-ENTRY ROB, UNIFIED PRFs & ISSUE QUEUES TIER 04 · 5-PORT SCALAR + RVV 1.0 INT-SUBSET EXECUTION (EX / WB) TIER 05 · SV39 MMU, PTW SNOOP COHERENCY & 8-BANK MESI L1D TIER 06 · 1–4 HART DIRECTORY MESI HUB, 256 KiB L2 & SMP I/O (fursoy_s2_soc) BRANCH RECOVER (PORT 0 BRU) PRECISE TRAP / SYS FLUSH F0–F2 · PREDICTION BPU (fursoy_s1_bpu) 512-ent BTB · TAGE-Lite · 64-ent IBP 16-RAS · flop-array synth timeout (>15 GiB) F1 · TRANSLATION Sv39 ITLB (fursoy_s1_itlb) 64-ent 4-way + 8-ent 2M/1G CAM 16b ASID · 2-ITRT · 1.210 ns STA F1–F3 · INSTR CACHE L1I Cache (fursoy_s1_l1i) 16 KiB 4-way VIPT (1,805 kGE flop) NLP · 2 I-MSHRs · 1.247 ns STA (668 MHz) F3–F4 · BUFFERING Fetch Queue (16 entries) Decoupled fetch / exception buffer 2×32b/cyc → D0 · 0.879 ns STA D0 · 2-WIDE DECODE 2-Wide Parallel Decoder (fursoy_s1_decode) RV64IMAFD + Zba/Zbb (RISCOF 245/245) + RVV 1.0 int proto · 0.979 ns STA mstatus.FS/VS/TW, frm >= 5, and calc_vec_emul_info illegal-op traps RN / DS · RENAME & RECOVERY Rename & 16 Checkpoints (IntRAT / FRAT / VRAT) Int RAT 599 MHz · FRAT 582 MHz · VRAT bitmap FL 391.8 MHz (269 kGE) NUM_CHECKPOINTS = 16 · 1-cycle SRAT/FRAT/VRAT/GHR/RAS rollback REORDER & COMMIT 128-Entry ROB (fursoy_s1_rob · 570.1 MHz) 2W alloc/retire · 572.08 kGE (29,470 DFFs) · 1.504 ns STA (+0.246 ns) PHYSICAL REGISTER FILES Unified Int / FP / Vector Register Files 160×64b PRF (861 MHz) · 64×64b FPRF (942 MHz) · 64×256b VRF (961 MHz) IQ · INTEGER (fursoy_s1_int_iq) IntIQ (32 ent) · 45.7 MHz Wall 21.633 ns (-19.883 ns) · Slice-3 age-matrix IQ · MEMORY (fursoy_s1_mem_iq) MemIQ (32 ent) · 47.2 MHz Wall 20.915 ns (-19.165 ns) · P2 + P3 issue IQ · SCALAR FP (fursoy_s1_fp_iq) FPIQ (16 ent) · 194.7 MHz 4.886 ns (-3.136 ns) → Port 4 IQ · RVV INT PROTO (fursoy_s1_vec_iq) VIQ8 (8 ent) · 329.3 MHz 2.946 ns (-1.037 ns) · OoO ALU PORT 0 · INT/BR ALU0 / BRU / CSR Shared 64b KS Adder Max 1 br/cyc · I2F BRU 0.601ns · CSR 1.342ns PORT 1 · INT/MD ALU1 / MUL / DIV ALU1 + port1_buf 3-stg Booth MUL 817M Radix-4 DIV 845M PORT 2 · AGU0 AGU0 (All Mem) Loads, Stores, AMOs FENCE / LR / SC KS EA · 0.510ns STA PORT 3 · AGU1 AGU1 (Loads) Load-only pipe Up to 2 loads/cyc Parallel w/ AGU0 PORT 4 · SCALAR FP FMA / Radix-4 FDIV / FCONV FMA: 3c/4c · 187.4 MHz wall Radix-4 FDIV/FSQRT: 17c/31c (658M) FCONV: 2-stg (492.4 MHz) VECTOR · RVV INT PROTO (VLEN=256) Dual-Lane Vector Engine 128b SIMD · ~30 int ops (no vec FP) Radix-4 VDIV 898.5 MHz (0 $div) vle/vleff/vlse/vluxei (nf=0; no vl*r) DATA TRANSLATION · fursoy_s1_dtlb Standalone Dual-Port Sv39 DTLB Parallel p0 + p1 · 64-ent Tree-PLRU · 8-ent CAM 16b ASID · 32 TRT · 1.275 ns STA (+0.525 ns) PAGE-TABLE WALKER · fursoy_s1_ptw Shared Hardware PTW Sv39 walks · pte[63:54] & MPRV · 0.892 ns STA 1-cyc local L1D snoop + coherent L2 COH_GETS_NC COHERENT L1D & LSU · fursoy_s1_l1d 16 KiB 8-Bank MESI L1D + 16 LQ / 16 SQ PA[5:3] 8 banks · 4 MSHRs · 2 WBBs · 2-stg snoop Comb SRAM +0.027 ns · Sync SRAM +0.108 ns SLICE-2 COHERENCE · fursoy_s2_coherence_mgr + fursoy_s2_l2 Directory MESI Hub & 256 KiB 8-Way Inclusive L2 3-stage C0/C1/C2 · 8 DIR_MSHRs · 512 sets × 8 ways · 4-VC deadlock-free 3,831.60 kGE incl. L2 (561.64 kGE standalone) · 1.902 ns STA (+0.008 ns) SMP PLATFORM I/O & SBI v2.0 · fursoy_s2_soc MMIO Xbar · CLINT · 2N-Ctx PLIC · 16550 UART · 256 MiB DRAM Registered N-to-4 Xbar (1.181 ns) · CLINT (1.559 ns) · Binary-Tree PLIC (1.407 ns) Custom M-mode SBI v2.0 (BASE · TIME · sPI · RFENCE · HSM · SRST · DBCN)

Core Microarchitecture & RTL Parameter Summary (Slice-2.5 Hardened)

Subsystem Verified RTL Specification Source Authority
ISA & Privilege RV64IMAFD + Zba + Zbb + Zicsr + Zifencei (RISCOF 245/245) + RVV 1.0 integer subset (prototype) · M/S/U modes · Sv39 MMU (16-bit ASIDs, 4 KiB / 2 MiB / 1 GiB) · fixed SBI L1I guard (RVC, programmable 16-entry PMP CSRs & non-zero misa, Zicclsm, Sstc, CMO deferred to Slice-3+) fursoy_s1_decode.sv, fursoy_s1_csr.sv
Pipeline Width & Stages 2-wide fetch / decode / rename / dispatch / retire across F0–F4 → D0 → RN/DS → IS → EX/WB → CM (16-entry Fetch Queue) fursoy_s1_frontend.sv, fursoy_s1_core.sv
Branch Prediction 512-entry 2-way BTB + 30,208-bit TAGE-Lite (T0 + T1–T4, 108-bit GHR) + 64-entry tagged IBP + 16-entry RAS (32 indexed checkpoints; flop-array synthesis >15 GiB → SRAM macros in Slice-3) fursoy_s1_bpu.sv
ROB, PRFs & Checkpoints ROB_DEPTH = 128 (570.1 MHz) · PRF_SIZE = 160 (128 FL, 861.3 MHz) · FPRF_SIZE = 64 (32 FL, 942.5 MHz) · NUM_CHECKPOINTS = 16 fursoy_s1_pkg.sv, fursoy_s1_rob.sv
Issue Queues & Ports IntIQ = 32 (2W → P0 ALU0/BRU/CSR/I2F, P1 ALU1 / 3-stage pipelined 65×65 Booth+Wallace+KS MUL [3c lat, 1/cyc tput, 817.0 MHz, 41.24 kGE] / iterative Radix-4 DIV [845.3 MHz]) · MemIQ = 32 (2W → P2 AGU0, P3 AGU1 loads) · FPIQ = 16 (1W → P4 FMA 3c/4c [187.4 MHz wall], iterative Parallel Radix-4 restoring FDIV/FSQRT [SP 17c / DP 31c, 657.9 MHz, 22.89 kGE, 0 $div/$mod], 2-stage FCONV [492.4 MHz]) fursoy_s1_multiplier.sv, fursoy_s1_fdiv.sv, fursoy_s1_*_iq.sv
LSU & Disambiguation 16-entry Load Queue / 16-entry Store Queue store-to-load forwarding, S0/S1 speculative snoop replay, ROB-head LR/SC & 2-cycle locked AMO, atomic MMIO-vs-IRQ interlock fursoy_s1_lsu_queues.sv
RVV 1.0 Integer Subset (Prototype) VLEN = 256, ELEN = 64, VLENB = 32 · VRF = 64 × 256b (4 banks × 64b, 4R1W, 961.5 MHz) · VIQ8 = 8 · bitmap VRAT (p32..p63) · LMUL 1..8 · 128b dual-lane SIMD · ~30 integer/mask/memory opcodes (nf=0; iterative Parallel Radix-4 restoring fursoy_s1_vec_div across SEW=8/16/32/64 [898.5 MHz, 13.63 kGE, 0 $div/$mod]; inline RVV * in fursoy_s1_core.sv:1858,2538, vector FP OPFVV/OPFVF, and whole-reg vl*r/vs*r deferred to Slice-3+) fursoy_s1_vec_div.sv, fursoy_s1_vrat.sv, fursoy_s1_core.sv

03 / Memory Hierarchy & Multicore SMP

Sv39 MMU, 8-bank MESI L1D & directory-backed 256 KiB L2

A parameterized SMP_COHERENCE_EN toggle lets the identical fursoy_s1_core RTL run both as a bit-identical single-core SoC (fursoy_s1_soc) and inside a coherent 2- or 4-hart cluster (fursoy_s2_soc).

L1 DATA CACHE · 8 BANKS fursoy_s1_l1d

16 KiB 8-Bank Non-Blocking MESI L1D

16 KiB, 4-way VIPT (64 sets × 64 B), 8-bank (PA[5:3]) write-back cache with 3-bit Tree-PLRU, 4 MSHRs (COH_GETS/GETM/UPGRADE), 2 WBBs (PutM), and a 2-stage registered snoop pipeline (S0/S1) closing 500 MHz STA at 1.723 ns (+0.027 ns comb SRAM; +0.108 ns sync SRAM sweep).

SHARED LAST-LEVEL CACHE fursoy_s2_l2

256 KiB 8-Way Inclusive L2 & Directory

512 sets × 8 ways × 64 B lines tracking per-line L2_I/S/M state, sharer_vec[N-1:0], and owner_id behind an 8-entry DIR_MSHR table. Resolves cache-to-cache dirty forwarding (M→I / M→S), silent clean E/S evictions, and capacity back-invalidations at 1.436 ns STA (+0.314 ns).

L1 INSTRUCTION CACHE fursoy_s1_l1i

16 KiB 4-Way Coherent VIPT L1I

64 sets × 4 ways × 64 B lines with a conservative 4 KiB page-bounded next-line prefetcher, 2 I-MSHRs with per-slot imshr_epoch_q across FENCE.I, and coherent COH_GETS_NC snooping. Characterized in S2.5-M4 at 1.247 ns (668.0 MHz, 1,805.03 kGE flop array → SRAM macro in Slice-3).

SV39 VIRTUAL MEMORY itlb · dtlb · ptw

Dual-Port DTLB, ITLB & Coherent PTW

Parallel dual-port DTLB (p0+p1, 1.275 ns) and ITLB (1.210 ns) each pair a 64-entry 4-way Tree-PLRU base TLB with an 8-entry 2 MiB / 1 GiB superpage CAM and 16-bit ASIDs (RISCOF vm_sv39 36/36 PASS). Shared PTW snoops local dirty L1D PTEs in 1 cycle and remote dirty PTEs over COH_GETS_NC.

SLICE-2 SMP COHERENCE & PLATFORM · docs/architecture/slice2-smp-v1.md

Deadlock-Free 4-VC Directory MESI, Multi-Hart Atomics & SMP Platform

Instead of combinational broadcast snooping (which degrades 500 MHz closure at N=4), fursoy_s2_coherence_mgr serializes all coherence requests at a single 3-stage directory point, guaranteeing RVWMO multi-copy atomicity (IRIW) verified across 10,000 iterations per litmus pattern on N=2 and N=4.

01 · 4-VC COHERENCE HUB

Separate per-hart VC0_RD (GetS/GetM/Upgrade) and VC0_WR (PutM) skid buffers, VC1 snoops, and strictly non-blocking VC2 grants/responses across C0/C1/C2 pipeline stages.

02 · COHERENT LR/SC & AMO

Coherence-point sc_acquire_req with IRQ masking and LFSR ping-pong backoff, plus 2-cycle L1D amo_line_lock_q and global FENCE quiescence (put_ack_pending_cnt_q == 0).

03 · REGISTERED SMP I/O

fursoy_s2_mmio_xbar routes N harts to fursoy_s2_clint (0x0200_0000), 2N-context binary-tree fursoy_s2_plic (0x0C00_0000, 31 sources), and 16550 UART (0x1000_0000).

04 · CUSTOM SMP SBI v2.0

M-mode firmware (IMPL_ID 0xF00501, 2 MiB reserved RAM) implements BASE, TIME, sPI, re-entrant RFENCE shootdowns, HSM secondary boot, SRST, and DBCN (upstream OpenSBI deferred to Slice-3+).

04 / Verified Silicon & Software Proof

RISCOF 245/245, Sail fuzzing, 10k-iter RVWMO & Linux 6.6.50 SMP+FPU

Every Slice-2.5 verification result below comes directly from frozen JSON artifacts on unified canonical RTL (rtl_sha256: 3da97dce...) — zero masked traps, zero simulator backdoors, and zero coherence violations.

Mainline Linux 6.6.50 + BusyBox RTL Simulation Closeout (SMP + FPU Preemption)

Configuration Artifact Total Cycles Retired Insts Aggregate IPC Userspace & Correctness Evidence
S2.5-M3b · N=2 SMP + FPU results/s25-linux-fpu-smp.json 45,279,778 48,158,534 1.0636 CONFIG_SMP=y + CONFIG_FPU=y (0 RVC, DTB rv64imafd_zba_zbb_zicsr_zifencei) · 10/10 markers incl. [SMP_FPU_PREEMPT_PASS] (4 threads × 6 rounds = 24 migrations, 1,536 f0..f31 checks, 5 frm modes) · 0 panics/traps/signals
S2.5-M3b · N=4 SMP + FPU results/s25-linux-fpu-smp.json 52,731,214 63,776,215 1.2095 CONFIG_SMP=y + CONFIG_FPU=y (0 RVC, S-mode FPU Sail pre-check 209/209 steps / 9 traps / 0 mismatches) · 10/10 markers incl. [SMP_FPU_PREEMPT_PASS] (8 threads × 6 rounds = 48 migrations, 3,072 f0..f31 checks, 5 frm modes) · 0 panics/traps/signals
S2-M5 · N=2 / N=4 Baseline results/s2-m5-closeout.json 41.10M / 48.38M 43.73M / 60.18M 1.064 / 1.244 Frozen Slice-2 CONFIG_SMP=y (RV64IMA, RTL bc0502b9) · pthreads + <stdatomic.h> + mem_stress + BusyBox PASS · 0 panics
S1-M9 · Single-Core Baseline results/s1-m9-closeout.json 90,304,592 76,281,757 0.8447 Frozen Gate G5 (SMP_COHERENCE_EN=0), 20 BusyBox shell tests + mem_stress · 0 CPI conservation errors (post-S2 non-reg: 90,325,303 cyc, 76,299,307 commits, 0.8447 IPC)
OFFICIAL RISCOF (1.25.3) 245 / 245 (100%) 10 riscv-arch-test suites vs sail-riscv v0.16 (I/M/A/F/D/B[Zba+Zbb]/Zifencei/hints/priv/vm_sv39); unimplemented C/PMP/Zicclsm/Zbs/Zbc/V excluded
20-SEED SAIL FUZZER 157,972 Insts · 0 Err 113,142 GPR, 19,781 FPR (SP NaN-box), 480 trap checks vs sail-riscv v0.16 (results/s25-sail-fuzz.json)
10K-ITER RVWMO LITMUS 0 Forbidden · 0 SWMR 8 patterns × 10,000 iters/test: N=2 (37.83M cyc, 1.5126 IPC) & N=4 (44.27M cyc, 1.7775 IPC), 100% SWMR
S2.5-M1B ARITHMETIC PROOF 4,908 Steps · 0 $div Radix-4 fdiv/vec_div + 3-stg Booth mul: 3,327 GPR, 1,058 FPR, 62 VRF grp checks · 0 mismatches
COHERENCE TORTURE (S2-M4) 511,641 Commits 166,762 (N=2) + 344,879 (N=4) across MESI S/E/M & dirty WBBs · 0 SWMR/data/inclusion violations
MMIO-VS-MSIP IRQ STRESS 952 Preemptions 84,854 cyc · 128/128 exact UART bytes · 128/128 PLIC Claims · 0 bad claims · 0 leaked in_service

Official RISCOF (riscv-arch-test 1.25.3) vs Sail-RISC-V v0.16 — 245 / 245 PASS (0 Failures)

50 / 50 PASS I · RV64I base integer ISA
13 / 13 PASS M · 3-stg Booth MUL & Radix-4 DIV
18 / 18 PASS A · RV64A LR/SC & AMOs
18 / 18 PASS F · Single-precision IEEE-754
27 / 27 PASS D · Double-precision IEEE-754
32 / 32 PASS B (Zba+Zbb) · Bitmanip (Zbs/Zbc excl.)
36 / 36 PASS vm_sv39 · Sv39 4K/2M/1G & faults
51 / 51 PASS privilege (19) · hints (31) · Zifencei (1)

8-Bucket Single-Owner CPI Conservation Breakdown (Post-Slice-2 S1-M9 Non-Reg; Frozen Baseline in results/s1-m9-closeout.json)

C_productive · 42,643,226 cycles (47.21%)
CPI Bucket Cycles Share Architectural Cause
C_productive 42,643,226 47.21% Active useful graduation / commit cycles
C_br_recover 16,565,588 18.34% Branch misprediction & exception flush recovery
C_idle_other 15,477,240 17.14% WFI idle, non-stalled pipeline drain & bubbles
C_mem_stall 5,419,980 6.00% L1D miss / bank conflict / DTLB-PTW memory stalls
C_be_rename 4,295,243 4.76% Rename stalls (ROB / Free List / 16-checkpoint capacity)
C_be_sched 3,035,353 3.36% Issue queue scheduling / operand stalls
C_serialize 2,437,534 2.70% CSR / SFENCE.VMA / FENCE.I / trap serialization
C_fe_starve 451,139 0.50% Frontend fetch queue empty (L1I / ITLB miss)
Total (mcycle) 90,325,303 100.00% 0 conservation errors · 76,299,307 commits · IPC = 0.8447

04B / Standard Industry Benchmarks (S2.5-M3a)

CoreMark, Embench-IoT v2.0 (19/19), STREAM FP64 & Dhrystone 2.1

Measured directly on cycle-accurate Verilator RTL (rtl_sha256: 3da97dce..., 500 MHz reference clock, results/s25-benchmarks.json) using unmodified upstream C sources compiled with riscv64-linux-gnu-gcc 13.3.0 (-march=rv64imafd_zba_zbb -mabi=lp64d -mstrict-align) and 0 CPI conservation errors.

Verified Bare-Metal Single-Core & SMP Benchmark Summary

Benchmark Suite Scope & Flags Verified Score IPC Empirical Bottlenecks & Methodology Disclosures
EEMBC CoreMark -O3 -funroll-loops, 10 iters, official 2K CRCs (0xe9f5/0xe714/0x1fd7/0x8e3a) 3.7748 CM/MHz (1,887 @ 500 MHz)
SMP N=2: 7.6152 · N=4: 15.2235 CM/MHz
1.1409 (S1)
2.3032 (N=2)
4.6129 (N=4)
S1 CPI: C_productive 65.3%, C_be_sched 12.0%, C_be_rename 9.4%. Disclosure: N=1 used MEM_STACK vs N=2/4 MEM_MALLOC (+0.86% layout shift; apples-to-apples N=2→4 scaling = 1.9991×).
Embench-IoT v2.0 19 / 19 PASS (0 exclusions, 0 CPI errs) Geomean 1.9445× Speed/MHz vs ARM Cortex-M4 1.2874 2-wide ceiling kernels: nettle-sha256 (1.858), depthconv (1.838). Tail drags: branch recovery (xgboost 0.660 / C_br_recover 31.9%, qrduino 0.817 / 27.7%) & rename stalls (tarfind 0.716 / C_be_rename 50.4%, ud 1.146 / 30.3%).
McCalpin FP64 STREAM -fopenmp, 65,536 elems (512 KiB/arr, 1.5 MiB = 6× L2), Solution Validates Copy: 2,001 → 3,987 → 7,944 MB/s (3.97×)
Triad: 2,979 → 5,981 → 10,700 MB/s (3.59×)
1.4819 (N=1)
2.9777 (N=2)
5.8732 (N=4)
Disclosure: Runs against the SoC's 512-bit 2-cycle behavioral DRAM read stub (32 GB/s bus cap, not physical DDR4/DDR5 latency/refresh) with ±0.76% 1 us gettimeofday quantization at N=4 (131 us). Measures on-chip L1D→coherence→L2→bus throughput.
Dhrystone 2.1 Strict separate-TU (-O2 -fno-inline-functions), 2,000 runs, 14/14 checks 1.7127 DMIPS/MHz (856.36 DMIPS @ 500 MHz) 1.4836 C_productive 78.0%, C_mem_stall 8.4%, C_br_recover 0.04%, 0 CPI conservation errors.
Benchmark Completeness Note: SPEC CPU remains unmeasured (requires FPGA prototyping or SimPoint infrastructure beyond RTL Verilator speed). Every benchmark score above reflects exact cycle-accurate RTL behavior with zero compiler-inlining or timing shortcuts.

05 / Whole-Core Physical Synthesis & OpenSTA (S2.5-M4)

35 / 37 core leaf blocks + 5 SMP blocks characterized on Nangate 45nm

Honest Whole-Core STA Methodology & Findings (results/s25-core-sta.json): Synthesized via sv2v v0.0.13 → Yosys 0.33 → OpenSTA 3.1.0 on NangateOpenCellLibrary 45nm Typical (1.10V, 25C) (NAND2_X1 = 0.798 um²), targeting 2.000 ns (500 MHz), 0.05 ns uncertainty, 0.20 ns I/O delay, pre-P&R, with 0 set_false_path / set_multicycle_path and 0 OpenSTA Warning 1216 / 441. Across 40 characterized blocks (35 core leaf + 5 SMP platform): 32 meet 500 MHz (TNS = 0.000 ns), 8 core leaf blocks violate 500 MHz (true unoptimized core Fmax wall = 45.7 MHz in fursoy_s1_int_iq due to serial 32-entry rob_dist loops), and 2 flop-array/CAM blocks hit Yosys 0.33 / 16 GiB timeouts (fursoy_s1_lsu_queues & fursoy_s1_bpu at 15,147 MiB RSS). Bottom-up 35-leaf core area is 5,373.87 kGE / 316,450 DFFs (dominated by flop-array fursoy_s1_l1i at 1,805.03 kGE / 143,354 DFFs). fursoy_s2_coherence_mgr instantiates fursoy_s2_l2 internally (3,831.60 kGE inclusive = 3,269.96 kGE L2 + 561.64 kGE standalone coherence hub).
32 / 40 Blocks MET @ 500 MHz 8 Core Fmax Walls (Worst: 45.7 MHz) 2 Yosys Timeouts (lsu_queues, bpu) 35-Leaf Core: 5,373.87 kGE / 316k DFFs 0 OpenSTA Warnings (1216/441)
Violated (<500 MHz) Slice-2 SMP / S2.5 Arith Core Block MET 2.000 ns (500 MHz)
Module Scope Cells DFFs Area (kGE) Max Delay WNS (500 MHz) Est. Fmax & Architecture Notes
fursoy_s1_int_iq S2.5 · Wall 102,681 12,160 203.08 21.633 ns -19.883 ns 45.7 MHz · Dual serial 32-ent rob_dist loops (L374-441) → Slice-3 age-matrix
fursoy_s1_mem_iq S2.5 · Wall 50,317 6,080 94.70 20.915 ns -19.165 ns 47.2 MHz · Dual serial 32-ent rob_dist scans (L157-178) → Slice-3 tournament select
fursoy_s1_fma S2.5 · Wall 44,808 1,239 68.11 5.087 ns -3.337 ns 187.4 MHz · Linear 79b/163b LZC loops + barrel shift + round (L734,845) → Slice-3 LZA
fursoy_s1_fp_iq S2.5 · Wall 15,119 2,096 29.63 4.886 ns -3.136 ns 194.7 MHz · 16-entry serial rob_dist scan → Slice-3 tournament select
fursoy_s1_vec_iq S2.5 · Wall 47,007 3,108 79.36 2.946 ns -1.037 ns 329.3 MHz · 8-entry serial rob_dist scan (mem2reg_abc_d1000)
fursoy_s1_vrat S2.5 · Wall 130,652 17,120 268.98 2.459 ns -0.552 ns 391.8 MHz · 1-cyc 32b popcount allocator (LMUL≤8) + SRAT (mem2reg_abc_d1000)
fursoy_s1_hpm S2.5 · Wall 33,922 4,162 62.25 2.401 ns -0.485 ns 402.4 MHz · Comb retire-match into 64-bit counter increment (L190-215)
fursoy_s1_fconv S2.5 · Wall 23,957 3,219 46.91 1.947 ns -0.031 ns 492.4 MHz · Marginal 31 ps shortfall on FP↔Int conversion/rounding mux
fursoy_s1_vec_div M1b · Arith 8,666 334 13.63 1.023 ns +0.887 ns 898.5 MHz · Iterative Parallel Radix-4 restoring RVV divider (SEW=8/16/32/64, 0 $div)
fursoy_s1_multiplier M1b · Arith 23,551 1,026 41.24 1.139 ns +0.776 ns 817.0 MHz · 3-stage pipelined 65×65 Radix-4 Booth + 8-level Wallace CSA + KS CPA
fursoy_s1_fdiv M1b · Arith 12,564 850 22.89 1.431 ns +0.480 ns 657.9 MHz · Iterative Parallel Radix-4 restoring IEEE-754 FDIV/FSQRT (SP 17c / DP 31c)
fursoy_s2_mmio_xbar S2 · SMP 2,059 213 3.59 1.181 ns +0.735 ns 790.5 MHz · 4-hart registered round-robin MMIO crossbar
fursoy_s2_plic S2 · SMP 10,715 561 17.66 1.407 ns +0.505 ns 668.9 MHz · 8-context (N=4) binary-tree PLIC
fursoy_s2_l2 S2 · SMP 1,558,821 212,480 3,269.96 1.436 ns +0.314 ns 593.1 MHz · 256 KiB 8-way inclusive L2 (flop tag/dir + SRAM .lib data)
fursoy_s2_clint S2 · SMP 2,979 394 5.77 1.559 ns +0.357 ns 608.6 MHz · 4-hart CLINT with registered 64-bit comparators
fursoy_s1_l1d (SMP=1) S2 · Core 216,202 20,942 468.32 1.723 ns +0.027 ns 506.8 MHz (comb SRAM) / 528.5 MHz (+0.108 ns sync SRAM sweep)
fursoy_s2_coherence_mgr (incl. L2) S2 · SMP 1,857,576 224,327 3,831.60 1.902 ns +0.008 ns 502.0 MHz · Includes fursoy_s2_l2 (3,269.96 kGE); standalone hub = 561.64 kGE / 11,847 DFFs
fursoy_s1_agu S1 · Comb 817 0 1.07 0.510 ns +1.490 ns 1,960.8 MHz · Shared 64-bit Kogge-Stone EA adder
fursoy_s1_branch_unit S1 · Comb 4,086 0 5.45 0.601 ns +1.399 ns 1,663.9 MHz · Shared KS prefix adders & carry-free target match
fursoy_s1_ptw S1 · Seq 1,797 329 3.81 0.892 ns +1.069 ns 1,074.1 MHz · Sv39 3-level walk FSM
fursoy_s1_decode S1 · Comb 2,777 0 3.70 0.979 ns +1.021 ns 1,021.5 MHz · 2-wide parallel decoder
fursoy_s1_alu S1 · Comb 4,326 0 6.34 1.153 ns +0.847 ns 867.3 MHz · Shared 64-bit KS adder + barrel shifter + Zba/Zbb
fursoy_s1_itlb S1 · Seq 37,063 6,304 77.31 1.210 ns +0.590 ns 709.2 MHz · Refreshed in S2.5-M2a (flop array)
fursoy_s1_dtlb S1 · Seq 50,439 6,515 99.95 1.275 ns +0.525 ns 678.0 MHz · Dual-port DTLB refreshed in S2.5-M2a (flop array)
fursoy_s1_csr S1 · Seq 14,491 1,872 27.89 1.342 ns +0.623 ns 726.2 MHz · M/S/U CSRs + KS PC+4 + IRQ interlocks
fursoy_s1_vrf M4 · Core 162,739 16,384 332.37 0.790 ns +0.960 ns 961.5 MHz · 64×256b 4-bank VRF (flop array)
fursoy_s1_fprf M4 · Core 48,981 4,096 102.71 0.811 ns +0.939 ns 942.5 MHz · 64×64b FP PRF (flop array)
fursoy_s1_prf M4 · Core 303,237 16,384 618.67 0.911 ns +0.839 ns 861.3 MHz · 160×64b Int PRF (flop array)
fursoy_s1_divider M4 · Core 801 91 1.43 1.099 ns +0.817 ns 845.3 MHz · Iterative Radix-4 64-bit integer divider
fursoy_s1_l1i M4 · Core 1,021,062 143,354 1,805.03 1.247 ns +0.503 ns 668.0 MHz · 16 KiB 4-way flop-array L1I (abc_fast; 33.6% of core area → Slice-3 SRAM)
fursoy_s1_rob M4 · Core 328,755 29,470 572.08 1.504 ns +0.246 ns 570.1 MHz · 128-entry ROB (2W alloc/retire, 16 checkpoints)
fursoy_s1_fprf_status M4 · Supp 1,692 64 2.80 0.798 ns +1.108 ns 1,121.1 MHz · 64-entry FP PRF ready scoreboard
fursoy_s1_port1_buffers M4 · Supp 5,426 588 10.01 0.879 ns +1.037 ns 1,038.4 MHz · Port-1 ALU1/MUL/DIV arbitration buffers
fursoy_s1_fetch_queue M4 · Supp 54,636 7,329 104.30 0.879 ns +1.027 ns 1,027.7 MHz · 16-entry decoupled instruction fetch queue
fursoy_s1_prf_status M4 · Supp 3,962 159 6.56 0.947 ns +0.960 ns 961.5 MHz · 160-entry Int PRF ready scoreboard
fursoy_s1_serialization M4 · Supp 918 146 2.04 1.304 ns +0.612 ns 720.5 MHz · System/CSR/Fence serialization FSM
fursoy_s1_trt M4 · Supp 10,260 1,568 20.16 1.366 ns +0.540 ns 684.9 MHz · 32-entry translation request tracker
fursoy_s1_freelist M4 · Supp 18,338 1,059 32.57 1.469 ns +0.432 ns 637.8 MHz · 128-entry Int freelist + 16 checkpoints
fursoy_s1_rat M4 · Supp 38,719 4,728 73.63 1.573 ns +0.332 ns 599.5 MHz · Int SRAT/ARAT + 16 checkpoints
fursoy_s1_frat M4 · Supp 32,326 3,674 64.89 1.628 ns +0.281 ns 581.7 MHz · FP FRAT + 32 FL + 16 checkpoints
Whole-Core Summary 40 Blocks 35 Core Leaf 316,450 DFFs 5,373.87 kGE 45.7 MHz min 32 MET / 8 Wall + 2 honest Yosys timeouts (lsu_queues, bpu 15.1 GiB) · 0 W1216/W441 (results/s25-core-sta.json)

Synchronous SRAM Macro Sensitivity Sweep (tCQ = 0.60, 0.80, 1.00 ns, tSetup = 0.20 ns)

Synthesized Netlist Comb SRAM WNS Sync Block WNS Sync Block Fmax SRAM-Launch Slack (0.60 / 0.80 / 1.00 ns) SRAM-Capture Slack
fursoy_s1_l1d (u_bank_sram) +0.027 ns +0.108 ns 528.5 MHz +0.807 / +0.607 / +0.407 ns +0.327 ns
fursoy_s2_l2 (u_data_sram) +0.314 ns +0.314 ns 593.1 MHz +1.000 / +0.800 / +0.600 ns +1.521 ns
fursoy_s2_coherence_mgr (u_l2/u_data_sram) +0.008 ns +0.008 ns 502.0 MHz +1.119 / +0.919 / +0.719 ns +0.743 ns

Architectural Caveat: While synchronous tCQ = 0.60–1.00 ns and tSetup = 0.20 ns timing arcs close 500 MHz with 0 Warning 1216/441, current Slice-2 cache RTL functionally expects same-cycle combinational SRAM read data — adopting physical synchronous SRAM macros in Slice-3 requires adding an explicit 1-cycle synchronous read pipeline stage in l1d, l2, and l1i RTL.

06 / Reproducibility, Toolchain & Slice-3 Roadmap

Open-source EDA flow & empirical Slice-3 sizing plan

The entire RTL, firmware, Linux kernel defconfig, RISCOF harness, Sail lockstep fuzzer, 10k-iter RVWMO litmus suite, industry benchmarks, and whole-core Nangate 45nm OpenSTA flow run end-to-end on open-source tooling on Linux.

REPRODUCIBILITY · OPEN-SOURCE HARDWARE TOOLCHAIN

Reproduce Slice-2.5 Verification, Benchmarks & Whole-Core STA Locally

Verified on Ubuntu 24.04 Linux with Verilator 5.020, RISC-V GCC 13.2.0/13.3.0, sail-riscv 0.16, RISCOF 1.25.3, sv2v v0.0.13, Yosys 0.33, and OpenSTA 3.1.0, targeting mainline Linux 6.6.50 (CONFIG_SMP=y + CONFIG_FPU=y).

github.com/FURSOY/fursoy-cpu · Canonical Slice-2.5 Verification Commands bash
git clone https://github.com/FURSOY/fursoy-cpu.git && cd fursoy-cpu

# 1. Lint, Synthesizable Arithmetic, Official RISCOF (245/245) & 20-Seed Sail Fuzzer
python3 tools/run_s1_lint.py
python3 tools/run_s25_m1b_arith.py
python3 tools/run_s25_riscof.py
python3 tools/run_s25_sail_fuzz.py

# 2. Contract-Scale 10,000-Iter RVWMO Litmus (N=2, N=4) & Industry Benchmarks
python3 tools/run_s25_litmus_10k.py
python3 tools/run_s25_benchmarks.py

# 3. Mainline Linux 6.6.50 CONFIG_SMP=y + CONFIG_FPU=y Boot & Preemption (N=2 & N=4)
python3 tools/run_s25_linux_fpu_smp.py

# 4. 14-Block Baseline STA Gate & Full Whole-Core OpenSTA + Sync SRAM Sensitivity Sweep
python3 tools/run_s2_synth.py
python3 tools/run_s25_core_sta.py
RTL CASE STUDY 01 · SMP MMIO ATOMICITY

Atomic MMIO-vs-MSIP IRQ Preemption Interlock

Uncached MMIO loads (PLIC Claim) and stores (UART THR) mutate external hardware state as soon as the bus handshake fires. Under SMP IPI storms, taking an asynchronous MSIP interrupt while an MMIO transaction is already in flight at ROB head would flush and replay the instruction after mret, duplicating UART bytes or leaking PLIC in_service bits.

fursoy_s1_lsu_queues.sv and fursoy_s1_csr.sv enforce a symmetric interlock: new ROB-head MMIO requests gate off when an IRQ is pending, while active in-flight MMIO requests suppress irq_candidate_valid until response retirement — verified across 952 MSIP preemptions with 128/128 exact UART bytes and 128/128 exact PLIC Claims.

RTL CASE STUDY 02 · PRIVILEGED SPEC §3.1.9

The mip CSR Read-Modify-Write Livelock

Per RISC-V Privileged Spec §3.1.9, reading mip[9] (SEIP) returns mip_q[9] | irq_seip_i, whereas CSRRS/CSRRC read-modify-write instructions on mip (0x344) must source only the software-writable mip_q[9] flip-flop.

Feeding the OR'd mip_val into the RMW ALU latched external PLIC irq_seip_i permanently into mip_q[9] whenever SBI cleared STIP during a pending UART interrupt. Masking bit 9 to mip_q[9] in fursoy_s1_csr.sv eliminated the livelock cleanly.

VERIFIED TOOLCHAIN VERSIONS

Open-Source Verification & Synthesis Stack

Verilator 5.020 sail-riscv 0.16 RISCOF 1.25.3 RISC-V GCC 13.2/13.3 sv2v v0.0.13 Yosys 0.33 OpenSTA 3.1.0 Linux 6.6.50 SMP+FPU Nangate 45nm
SLICE-3 ROADMAP · docs/architecture/slice3-sizing-memo.md

Empirical Slice-3 Timing, SRAM & RVA23 Targets

Slice-2.5 is frozen at pre-tapeout RTL stage. Priorities grounded in docs/architecture/slice3-sizing-memo.md:

  1. Timing & SRAM Macros: Replace serial rob_dist loops in int_iq/mem_iq/fp_iq/vec_iq with age-matrix/tournament select, add parallel LZA in fma, split lsu_queues, and convert L1I/BPU/L2 tags/VRF to 1-cycle synchronous SRAM .lef/.lib macros (with 1-cycle read pipeline stages).
  2. 4-Wide OoO & RVA23 Server Platform: RVC (compressed 16-bit), larger SRAM BTB/TAGE, programmable 16-entry PMP CSRs + non-zero misa + upstream OpenSBI, Zicclsm, Sstc, CMO, pipelined RVV * + full RVV 1.0 FP, and multi-banked L2/L3 for 4→8 cores.