Fursoy - Out-of-order RV64IMAFDV core in SystemVerilog
Show HN: Fursoy – Out-of-order RV64IMAFDV core in SystemVerilog (Linux 6.6)
Fursoy Slice-1 is a clean-slate 64-bit out-of-order superscalar RISC-V processor written in SystemVerilog. It implements RV64IMAFDV with Zba/Zbb extensions, Sv39 virtual memory, and privilege separation, and successfully boots mainline Linux 6.6.50 with BusyBox userspace. The core features a 2-wide superscalar pipeline, 128-entry reorder buffer, 160-entry physical register file, and non-blocking caches. It meets 500 MHz timing in Nangate 45nm synthesis across 8 functional blocks, with cycle-exact CPI telemetry showing zero conservation errors over 89 million cycles. This project provides a verified, high-performance RISC-V core for research and development.
Every cycle is mutually exclusively owned by one architectural bucket asserted continuously in hardware, with zero CPI conservation errors across 89,861,075 simulated cycles.
- Findecanor
Do post it on Reddit in https://www.reddit.com/r/RISCV/
I have seen more excitement and community around these kinds of projects there than here.
- phendrenad2
Doing OOO in a one-person project is impressive.
- PowerElectronix
This is really cool. Any chance you'll try to make a few with tiny tap or some service like that?
- fursoy
I built Fursoy Slice-1, a 64-bit out-of-order superscalar RISC-V core (RV64IMAFDV + Zba/Zbb/Zicsr/Zifencei) in SystemVerilog, along with a minimal SoC (5-master crossbar, CLINT, PLIC, 16550 UART, and custom SBI v2.0 firmware).
At a high level, the core is 2-wide fetch/decode/rename/retire with a 128-entry ROB, 160-entry integer PRF, 8 branch checkpoints for single-cycle speculative RAT rollback, and separate Int/Mem/FP/Vec issue queues. On the memory side, it has a dual-port Sv39 DTLB (64-entry 4-way Tree-PLRU + 8-entry 2 MiB/1 GiB superpage CAM), ITLB, and a 16 KiB 8-bank non-blocking L1D. Instead of flushing dirty lines on every page-table walk, the hardware PTW snoops dirty L1D sets non-destructively so Linux page-table updates are visible directly, paired with store-queue drain on SFENCE.VMA.
In Verilator, it boots mainline Linux 6.6.50 and BusyBox userspace in ~89.8M cycles (~76.2M retired instructions, 2,255 page faults handled) while checking an 8-bucket single-owner CPI conservation invariant every cycle with 0 cycle leakage. Synthesizing the 8 main core logic blocks standalone with sv2v + Yosys + OpenSTA on Nangate 45nm (SRAMs/PRFs black-boxed, pre-P&R) meets 500 MHz across all 8/8 blocks at ~219 kGE, after rebuilding the ALU and branch unit as Kogge-Stone prefix trees and balancing high-fanout CSR/TLB paths.
I used an AI-agent-assisted workflow for RTL iteration and verification scaffolding while driving the microarchitecture, timing closure, and debugging myself. T […]