← Sat, Nov 14 digest

Show HN: Fursoy – Out-of-order RV64IMAFDV core in SystemVerilog (Linux 6.6)

read article ↗ hn thread ↗

A developer has built Fursoy Slice-1, a 64-bit out-of-order superscalar RISC-V processor in SystemVerilog that successfully boots mainline Linux 6.6.

read it The detailed architectural specifications, synthesis results, and verification metrics offer a rare look at a fully functional solo-built out-of-order RISC-V core.

summary

Fursoy Slice-1 is a clean-slate 64-bit out-of-order superscalar RISC-V processor implemented in SystemVerilog, featuring Sv39 virtual memory and a 2-wide fetch-decode-rename-retire pipeline. The design includes a 128-entry reorder buffer, 160-entry physical register file, and a hardware page-table walker that snoops L1D dirty sets non-destructively. Evaluated in Verilator, the core successfully boots mainline Linux 6.6.50 and BusyBox userspace, and achieves 500 MHz synthesis closure on Nangate 45nm across its core logic blocks.

key points

  1. Features a 2-wide out-of-order pipeline with a 128-entry ROB, 160-entry PRF, and dedicated issue queues for integer, memory, floating-point, and vector operations.
  2. Implements a custom hardware page-table walker with non-destructive L1D dirty set snooping to handle page-table updates without cache invalidation flushes.
  3. Boots mainline Linux 6.6.50 and BusyBox in Verilator across 89.8 million simulation cycles with zero kernel panics or execution errors.
  4. Achieves 500 MHz timing closure on Nangate 45nm standard cells across its eight main core blocks using Yosys and OpenSTA.

who should read it

Hardware engineers, RISC-V developers, and computer architecture enthusiasts interested in custom CPU design.

discussion warm

consensus

Commenters express strong admiration for a solo developer building a functional out-of-order RISC-V core capable of booting Linux, accompanied by healthy technical curiosity about microarchitectural balance.

pushback

A minority debate whether automated tools or AI assistance played a major role in generating the HDL, though acknowledging the depth of the verification and integration work.

best comment by peterfirefly ↗

Do you know how balanced your design is or are those choices mostly based on napkin estimates and guesses?

The ROB and PRF are bigger than what the K8 had. If I understand you correctly, Slice-1 can decode two instructions per cycle (and they don't expand to multiple internal instructions) and it can retire two per cycle. If I do, then that's less than the K8 (and K7, K6, and P6).

You are not clear about the ALU/AGU/branch resources that the OOO engine has. If it can execute two instructions per cycle then it's less than the K8. It doesn't say what limitations there are -- can it handle …

It raises rigorous microarchitectural questions about pipeline balance, such as comparing the large ROB and PRF sizes against the 2-wide decode and retire limits.

Generated by an LLM from the article and thread. Check the sources before relying on it.