arXiv:2611.02974cs.ARNov 2026

Manuscript Offprint

arXiv:2611.02974

Memory Admission and Result-Retention Sizing in an RV32IMC FPGA Soft Processor

Yihang Dai, Shuyu Xu, Yinfeng Zhou, Chenglei Peng

Yihang Dai

Nanjing University

Nanjing, China

241180155@smail.nju.edu.cn

Shuyu Xu

Nanjing University

Nanjing, China

241180151@smail.nju.edu.cn

Yinfeng Zhou

Nanjing University

Nanjing, China

241180112@smail.nju.edu.cn

Chenglei Peng ∗^{*}

Nanjing University

Nanjing, China

pcl@nju.edu.cn

∗^{*}Corresponding author

Abstract—In FPGA soft processors with shared backing block RAM, memory admission can stall a multiplication after its product has been prepared. We study how admission timing changes result retention in PaceRV, our board-tested five-stage RV32IMC core, using fixed binaries and matched dynamic instructions. Offering data requests one edge earlier reduces geometric-mean Embench cycles by 18.2% and retention opportunities from 375,063 to 4,373. Admission and retention cycle gains are conditional and non-additive. Under slower reads, a 99% capture target selects an 18-edge validity window with registered requests and 28 edges with early requests, although no multiplication matched within both measurement intervals waits longer. A predeclared sizing rule predicts opportunity recovery exactly in all finite tests, including kernels excluded from model development. Independent timing analysis closely estimates execution-cycle savings. The results support choosing admission first, then deciding whether to extend validity and sizing it against an explicit capture or missed-opportunity objective.

Index Terms—RISC-V, FPGA soft processor, memory admission, prepared arithmetic, performance prediction, result retention

I. INTRODUCTION

Synchronous block RAM shapes request and response timing in FPGA processors. Frontend and load/store accesses share backing memory, and interface registers can postpone request acceptance. In a short in-order pipeline, this extra edge can also delay a younger multiplication whose product is already prepared.

PaceRV is our single-issue, in-order RV32IMC core. An eligible multiplication prepares its low-word product on entering the execute (EX) stage, but an older load stalled in the memory stage can delay its use. Each prepared product belongs to the dynamic MUL instruction occupying EX; the measured population comprises successive multiplications in one core. A one-edge valid flag allows the fast path to accept the product at the next edge. If the stall outlasts this window, ordinary multiplication remains available. Retention extends the window, while earlier memory admission can remove the wait.

The design question is whether to extend result validity and, if so, for how long. We track the same dynamic instructions across admission modes to answer it, separating recovered opportunities from elapsed-cycle savings.

Shared multipliers require retention policies for prepared work held by a stalled requester. Admission-conditioned demand and validity windows provide inputs for selecting retention and result-storage policies between cores.

Earlier admission moves most delayed multiplications into immediate use. Absolute demand falls sharply, but longer waits form a larger share of the remainder. A fixed percentage target can consequently select a longer validity window despite a smaller application-level benefit. This changes the design choice: establish admission timing before extending validity, and choose the window using the remaining demand and the intended performance objective.

PaceRV includes caches, shared backing RAM, machine services and live counters. Fixed binaries and retirement matching isolate admission and validity effects. The instruction-resident suite chiefly exposes request-register latency; direct instruction/data command conflicts are rare.

The study makes three contributions. First, instruction-level age measurements explain a population shift: early admission removes 370,690 short waits, causing fractional-capture and absolute-demand criteria to select different validity windows. Second, a predeclared sizing procedure turns the remaining demand into a validity-window choice and predicts opportunity recovery exactly across 152 finite executions, changed read schedules and four new kernels. Independent timing measurements quantify endpoint and cycle accuracy. Third, our five-stage RV32IMC implementation connects the analysis to routed resource cost and board performance. PaceRV retains full peripherals and 64-bit counters, reaches 3.442 CoreMark/MHz at 145.125 MHz, and supports comparison with a feature-matched VexRiscv system.