Synthesizable SystemVerilog reconstruction of the Intel Pentium P5/P54C (non-MMX) Dual-issue U+V integer pipeline · Shared pipelined x87 FPU · Split 8 KiB L1 caches · 40 MHz STA-closed Zynq UltraScale+ SoC Repository (AL-255/ventium) · Official Source Releases (v0.2.0-c0e3fe43) · Release Notes · FPGA Build & Board Guide
Latest Physical Qualification (c0e3fe43)
Board-qualified FPGA image c0e3fe43 on RK-XCZU15EG-F (xczu15eg-ffvb1156-2-i, Vivado 2025.2):
Full Physical Standard Suite Qualified: Passes both standard CoreMark CRC seeds (2.100128 / 2.106796 CM/MHz), cold Windows 95 desktop boot with multi-application PS/2 GUI interaction and clean shutdown, and cold DOS Quake timedemo demo1 (8.0 FPS, 969 frames in 121.2 s) plus interactive single-player gameplay in U/V + fast-pipe mode (cycle_mode=1).
Higher Verified Gameplay IPC: Measured 0.515778001 total U+V IPC (0.397847833 primary/U-only IPC) across interior Quake gameplay cycles 28,696,827,616–32,989,404,795 (+3.88% over the previous 2886d24c baseline of 0.496499864, driven by a 4-way set-associative I-TLB, dual-ported 256-entry BTB, pipelined REP STOS cacheable store streaming, and fast-path MOVZX/MOVSX loads).
True 40 MHz Post-Route Static Timing Sign-Off: Fresh source-only synthesis and place-and-route closes with 40.264133 MHz post-route period budget (WNS = +0.164 ns, WHS = +0.010 ns, 0 failing endpoints, 0 DRC/routing errors), eliminating the prior -9.841 ns setup deficit and clearing 100% of >=85% global routing congestion hotspots (171,819 LUTs / 50.35%, 30,703 CLBs / 71.97%).
Runtime MMCM DRP Overclocking (Single Image): Using the always-on 100 MHz GPIO/DRP clock controller without rebuilding or reprogramming, physical Windows 95 GUI + Quake demo1 pass at 58.824 MHz (+47.1%) and interactive DOS Quake runs stably at 62.500 MHz (+56.25%).
Official Releases & Branch Boundary: Official board-qualified Ventium source code releases (latest: v0.2.0-c0e3fe43 on main) are published at github.com/AL-255/ventium and github.com/AL-255/ventium/releases (fpga/known_good_c0e3fe43.json & fpga/build_known_good.py; see Release Notes). experimental/uv-fast-ipc-apr retains ongoing development RTL and the full Verilator/QEMU differential harness; uncommitted or post-freeze experimental edits do not inherit c0e3fe43's qualification without re-verification.
Verified Physical FPGA Results
FPGA Utilization & Colored Component Layout
Quickstart: FPGA Build & Simulation Harness
Verification Methodology & Scope
Repository Layout & Licenses
Ventium reconstructs the non-MMX Intel Pentium (P5/P54C) microarchitecture in SystemVerilog and integrates it in place of the 486 CPU inside the MiSTer PC/AT platform, bridged to Zynq UltraScale+ DDR4 and ARM Cortex-A53 management services on the RK-XCZU15EG-F.
Vector diagram: docs/ventium-architecture.svg · Generator: fpga/scripts/render_architecture_diagram.py
Latest physical qualification: 2026-11-14, image c0e3fe43 (rk_ao486_system.bit.bin SHA-256 c0e3fe43b2b7ce88e013df107be94d56c0fcfcae626ce4c262975fba92dcc3b7). Every result below runs in mandatory U/V + system fast-pipe mode (cycle_mode=1, 161 defines), never U-only or slow-FSM diagnostic controls.
Standard Acceptance Suite & Benchmarks (40.000 MHz Boot Clock)
IPC Accounting Note: Hardware retirement counters count architectural instruction retirements plus individual REP string iterations (not deduplicated macroinstructions). Total U+V (ventium_top.retire_n) and primary/U-only counters are reported separately above; startup, BIOS, CoreMark, and Dhrystone windows are never substituted for interior Quake gameplay IPC. Unmeasured rebuilds or experimental branches do not inherit this figure.
Simulated Dhrystone 2.1 Comparison (DMIPS/MHz vs. z486 & ao486)
Simulated in Verilator (v5.046) on the exact frozen c0e3fe43 RTL profile (158 simulation defines, U/V + system fast-pipe, cycle_mode=1, --l1-axi, 4 KiB paging CR0=0x80000011, 8 KiB I$ + 8 KiB 8-bank D$, 20 warmup + ΔN = 2,000 RDTSC-bracketed steady-state runs, all 20 Weicker post-loop self-checks verified; reproducible harness), compared against published numbers from the z486 repository and z486 technical report (DMIPS/MHz = Dhrystones/s/MHz / 1757):
Scope Note: Simulated Dhrystone 2.1 is an L1-resident synthetic integer microbenchmark (AXI_RLAT=0, AXI_WLAT=0 matching the z486 report's earliest-cycle interface; under AXI_RLAT=5, AXI_WLAT=3 write-wait stress, Ventium c0e3fe43 measures 0.4803–0.5340 DMIPS/MHz) and never substitutes for physical-board qualification or verified Quake gameplay IPC (0.515778001 total U+V).
Static Timing Closure & Empirical Runtime DRP Overclocking
Static timing sign-off covers 40.000 MHz (N = 25). Higher runtime DRP frequencies (58.824 MHz, 62.500 MHz) are empirical single-board silicon measurements on image c0e3fe43, not multi-board PVT guarantees; 66.667 MHz (N = 15) exceeds the physical setup margin on this board.
All physical maps below are extracted directly from the routed c0e3fe43 Vivado 2025.2 checkpoint (245,310 primitives across 42,660 CLB sites on xczu15eg-ffvb1156-2-i) with zero P&R modifications. Each CLB site is colored by its exact synthesized module ownership, using proportional vertical strips in mixed-owner sites (11,841 mixed sites).
Non-CLB columns (BRAM/DSP/IO interconnect columns) are omitted in the compact floorplan above so all 117 CLB columns sit edge-to-edge for component readability; X tick labels preserve true physical tile coordinates, white denotes empty CLBs, and grey denotes partial-height PS8/hard-block cutouts. Companion full-coordinate and density views:
Uncompressed physical-coordinate CLB map
Per-slice physical LUT-slot density heatmap
Critical-path & congestion focus map
Full physical analysis & methodology
Device Utilization & Component Breakdown
Routing Congestion Relief & Critical Path
Where 2886d24c suffered regional u_icache congestion peaks up to 90.37% and a 3,024-sink pf_fill_addr broadcast bottleneck, c0e3fe43 combines RTL fanout replication (pf_fill_addr_rep[0..3], narrow ic_res_line_base muxing) with global synthesis retiming and explicit opt_design -muxf_remap + AlternateCLBRouting:
Final Global Hotspots (>=85%): 0 windows (Phase 4 initial router estimates peaked at just 3.88% South / 2.77% West / 2.42% North / 1.07% East and resolved cleanly).
Global Routing Utilization: 22.45% vertical / 21.05% horizontal (down from 28.32% / 27.54%).
Worst Setup Path: u_core/q_pc_reg[2]/C → u_l1d/u_pair_return/data_q_reg[1][21]/D — 24.522 ns total data delay (6.836 ns logic + 17.686 ns route, 76 logic levels), meeting the 25.000 ns (40 MHz) clock constraint with +0.164 ns positive slack.
Regenerate all five physical layout graphics offline without Vivado (requires Python 3 + NumPy + Matplotlib):
python3 fpga/scripts/render_device_view.py \ --data docs/fpga-physical-c0e3fe43/physical-map.json.gz \ --image-id c0e3fe43 \ --output /path/to/scratch/ventium-maps Quickstart: FPGA Build & Simulation Harness
Public Self-Contained FPGA Build (main Release Branch)
Official source releases (latest tag v0.2.0-c0e3fe43 on main) are published at https://github.com/AL-255/ventium (Releases). On main, the complete 193-file hardware closure is hash-pinned in fpga/known_good_c0e3fe43.json and requires no private submodule or prebuilt checkpoint:
git clone --branch v0.2.0-c0e3fe43 https://github.com/AL-255/ventium.git cd ventium python3 -B fpga/build_known_good.py --check tclsh fpga/test_known_good_wrapper.tcl "$PWD" # Build a fresh 40 MHz programmable-clock image with AMD Vivado 2025.2: python3 -B fpga/build_known_good.py --build \ --vivado-root /opt/AMD/2025.2/Vivado \ --output /path/to/scratch/ventium-c0e3fe43-build Simulation & Differential Gates (experimental/uv-fast-ipc-apr Harness)
On experimental/uv-fast-ipc-apr, architectural differentials require the pinned QEMU Pentium oracle in ventium-refs/:
git submodule update --init --recursive make verify # functional differentials + M4/M5 cycle bands (required after RTL edits) make verify-sys # protected-mode / paging / V86 / x87 system corpus make l1 # L1 cache & TLB subsystem gates make bus bus-sva # P5 bus protocol & SVA checks make lint # Verilator structural lint make verify-all # full regression suite (reports PASS and pinned expected failures separately) Read HOW_TO_RUN_FPGA.md before launching Vivado (fpga/run_vivado_exclusive.sh single-instance rule) or programming the board (0x6000_0000–0x6FFF_FFFF no-map DDR4 reservation and external drain checks). Read docs/rtl-interface.md and docs/trace-format.md before modifying interfaces or .vtrace emission.
Differential Oracle Authority: Instruction-by-instruction architectural lockstep against the pinned QEMU Pentium reference model governs CPU/FPU/MMU correctness across real, protected, V86, paged, and system-management modes. Never weaken comparison masks or convert regressions into expected-failure pins.
Physical Standard Acceptance Suite: Major core, cache, or APR changes require passing all three physical workloads in U/V + fast-pipe mode (cycle_mode=1) on hardware: (1) both standard CoreMark CRC seeds, (2) cold Windows 95 GUI boot + interactive keyboard/mouse session, and (3) a complete DOS Quake timedemo demo1 without error.
ISA & Compatibility Scope: Ventium targets the non-MMX Intel Pentium (P5/P54C, Family 5). MMX/P55C/P6 extensions (CMOVcc, FCMOVcc, FCOMI, RDPMC, SYSCALL) are intentionally unimplemented and raise architectural #UD rather than silently mis-executing. See the Interactive Opcode Map, ISA Coverage Notes, and Unsupported ISA Reference.
rtl/ Synthesizable P5/P54C core, caches, TLBs, bus & legacy x87 RTL fp_shared/ Shared pipelined 80-bit x87 FPU & polynomial transcendental engine ao486-sim/ Full-PC Verilator harness & CPU-to-platform shim (ven_ao486_shim) verif/ QEMU differential suites, system tests, L1/bus/SVA & unit gates 3rd-party/ MiSTer PC/AT chipset & OPL3 peripheral RTL fpga/ RK-XCZU15EG-F Vivado launchers, board-tools & physical-map scripts docs/ Architecture & floorplan graphics, board qualification reports & specs tools/ Systemd Vivado scope guard, trace helpers & opcode-map verifier rtl_ven_core.f, rtl_ven_soc.f Ordered synthesis filelists (no wildcard RTL globs) Ventium RTL, Scripts & Documentation: Licensed under the Solderpad Hardware License v2.1 (Apache-2.0 with hardware permissions).
Third-Party Components: Vendored MiSTer ao486 / opl3 / saa1099 peripheral modules retain their original upstream licenses; see fpga/THIRD_PARTY.md.
Exclusions: No proprietary BIOS, MS-DOS/FreeDOS/Windows 95 media, Quake/Doom game WAD/PAK data, Vivado IP caches, or binary bitstreams/checkpoints are distributed in this repository.
A SystemVerilog reconstruction of the original Intel Pentium (P5 / P54C, non-MMX) microarchitecture




