Conceptio › Archive › arXiv CS
arXiv CS open access

The State Is Not the Bottleneck: A Paged-State Gated-DeltaNet Tile on a Tri-Mode Multicast Mesh, Bit-Exact from RTL to Silicon

Cong Xu et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
deep-learningmachine-learningneural-networks
Linear-attention language models replace a growing key-value cache with a recurrent state of fixed size. On an edge FPGA, this state can exceed the on-chip memory and must be paged to external memory. This paper asks whether such paging dominates the cost of decoding (generating tokens). We built a
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Preprint, submitted to IEEE OJ-CS

Xu et al.

The State Is Not the Bottleneck: A Paged-State Gated-DeltaNet Tile on a Tri-Mode Multicast Mesh, Bit-Exact from RTL to Silicon CONG XU1 , Member, IEEE , and RAVI SANKAR1 , Life Senior Member, IEEE 1

iCONS Laboratory, Department of Electrical and Computer Engineering, University of South Florida, Tampa, FL 33620 USA

arXiv:2611.18422v1 [cs.RO] 13 Nov 2026

Corresponding author: Cong Xu (email: cong@usf.edu).

ABSTRACT Linear-attention language models replace a growing key–value cache with a recurrent state

of fixed size. On an edge FPGA, this state can exceed the on-chip memory and must be paged to external memory. This paper asks whether such paging dominates the cost of decoding (generating tokens). We built a hardware tile that computes one complete layer of a custom 369-million-parameter hybrid Gated DeltaNet model on an Agilex 5 FPGA and pages its recurrent state. The model state needs 6.2 MiB, whereas the device has 0.87 MiB of block memory. Paging adds 26.0 MB of memory traffic per decoded token, at most 11.2 percent of the calculated total. On the board at 75 MHz, with synthetic weights, one token takes 11.15 ms in this layer. The matrix-vector products with the weights take about 62 percent of this time and the state phase, including the paging, 13 percent. The tile is one node of a multicast mesh of tri-mode processing elements. We measure the error of the fixed-point arithmetic against floating point and check that the hardware agrees bit for bit with a fixed-point reference. In simulation, the state logic agrees with the reference on all 18 recurrent layers. On the board, six builds pass all 30 runs of 64 tokens and two runs of 1,024 tokens. For this model and memory interface, the delivery of the weights limits the decoding performance, and the recurrent state does not. State paging is therefore practical for such a model on an edge FPGA. INDEX TERMS Linear attention, Gated DeltaNet, state paging, FPGA, network-on-chip, fixed-point

verification.

I. Introduction

INEAR attention replaces the growing key–value (KV) cache of a transformer language model with a recurrent state of fixed size [1], [2]. This state can still be larger than the on-chip memory of an edge FPGA. Our custom model, a hybrid of the Gated DeltaNet type [2], has 369 million parameters and 6.2 MiB of recurrent state, whereas our target device, an Agilex 5 FPGA, has 0.87 MiB of block memory. The state must therefore reside in external memory, and the hardware must page it in and out for every token. Our first research question is whether this paging dominates the cost of decoding, that is, of generating one token at a time. We answer it in hardware, for one complete layer of the model. The model is intended for the following application, which Fig. 1 shows together with the hardware platform. At a blind junction, a microphone array can detect an approaching vehicle before a camera sees it [3]. Our companion work, LVCWorld, stores such detections in a structured description of the scene [4]. A language-model stage, which we refer to as the semantic layer, answers semantic queries about the scene,

L

but it is much slower than the acoustic detection. The system therefore stores the answers in a scene cache and invokes the semantic layer again only when the scene changes, which is a cache miss. This paper presents hardware for the language model of the semantic layer. This hardware, which we refer to as the decode tile, computes one layer of the model for one token. We evaluated the tile and the acoustic processing of the application (the front-end) on the same FPGA, in separate bitstreams (configurations of the FPGA). The design point is one tile that computes the recurrent layers of the model one after another. In such a system, the weights and the recurrent state of all layers reside in external memory, so the tile reads the weights of the current layer from there and pages its state in and out. Our experiments exercise the tile with one layer. The closest related accelerator, in contrast, keeps a recurrent state of 2 MB on chip [5]. Two calculated numbers indicate that the state is a small part of the work of our model. First, for an input text (prompt) of 744 tokens, the update of the recurrent state is only 2.48 % of the multiply-accumulate operations (MACs) per decoded to1

Preprint, submitted to IEEE OJ-CS

56-mic array + camera

acoustic front-end fixed point, 7.02 ms/frame

scene cache St , η=0.90

Xu et al.

decode tile one model layer, LPDDR4

advisory to planner

host PC: Python test scripts reference model, readback, checks USB-Blaster III, virtual JTAG

2 3

1

Agilex 5 E-Series 013B, programmable logic: front-end and cache (separate build) decode tile, alone or on the 2 × 3 mesh hard processor system idle 512-bit ports LPDDR4 controller (hard IP) Avalon-MM → AXI4 bridges x32, 2133 MT/s, 8.53 GB/s peak

(a) The kit as used: (1) FPGA and the LPDDR4 memory of its programmable logic, under the heatsink, (2) on-board USB-Blaster III, (3) USB-PD power.

LPDDR4 memory, 2 GB: INT4 weights and state pages (b) Where each part runs.

FIGURE 1. The application and the platform. Top: the multi-rate architecture. The acoustic front-end detects a hidden vehicle, the cache answers queries about an unchanged scene with the hit rate η, and a cache miss invokes the language model, of which the decode tile implements one recurrent layer. (a) The DK-A5E013BM16AEA development kit, which we used for all measurements. (b) Where each part runs. The host reaches the programmable logic only through JTAG, and the tile reaches its weights and its state pages only through the LPDDR4 memory.

ken. Second, the paging moves 26.0 MB per decoded token, which is 7.7 % or 11.2 % of the calculated memory traffic for the two number formats that we consider (Section V-C). For both formats, the weights are the largest part of the traffic. Measurements on the board support this calculation. We report the latency per layer-token, which is one token passing through one layer. At 75 MHz and with synthetic weights, the tile takes 11.15 ms per layer-token. The matrix-vector products with the weights take about 62 % of the cycles, the other arithmetic of the layer takes 25 %, and the state phase, which includes the paging, takes 13 %. For this model and this memory interface, the state is therefore not the bottleneck. Our second research question is whether the hardware computes exactly what it should. A recurrent state carries a numerical error from one token to all later tokens, so we require bit-exact agreement between the hardware and its reference. In this paper, bit-exact means that a hardware result equals the result of a fixed-point software reference in every bit. We check this agreement in the simulation of the register-transfer-level (RTL) design and on the FPGA board, which the title refers to as silicon. Section V-E also evaluates the accuracy of the fixed-point reference against 32-bit floating point (fp32). A. Scope and contributions

The decode tile implements one complete recurrent layer of the model, which consists of input and output projections, a causal convolution, a gated update of the recurrent state and a gated multilayer perceptron (MLP). Of the 24 layers of the model, 18 are of this kind. The other six layers are

attention layers, and they are outside the scope of this paper, as is the complete inference loop of the model. The tile is one node of a mesh network-on-chip. The other five nodes are processing elements that switch among three operating modes (tri-mode), and one request can address several nodes (multicast). On the board, the complete layer runs with synthetic weights, which have the memory layout of the real weights and for which the simulation provides the exact expected values, and a separate test runs the update of the state with real inputs. The paper makes three contributions. • It quantifies the cost of state paging for a complete layer, by calculation (Section V) and by measurement on an edge FPGA (Section VIII). • It integrates the tile with a mesh of tri-mode processing elements and measures the cost of a mode switch in clock cycles (Sections IV and VIII). • It presents a verification flow that measures the error of the fixed-point arithmetic against fp32 in software and checks the RTL and the board for bit-exact agreement with the fixed-point reference (Sections V-E and VIII). This flow exposed an error in a numerical limit of the RTL and several implementation faults that the original simulation tests had not detected. II. Related Work A. Linear attention and its accelerators

Linear attention expresses decoding as a recurrence over a matrix-valued state [1]. The delta rule adds targeted updates to this recurrence [6], and data-dependent gates control how fast the state decays [7]. Structured state-space duality relates state-space models to attention variants [8]. Gated DeltaNet combines gating with the delta rule [2]. Its state has dk × dv entries for each attention head, where dk and dv are the dimensions of the key and of the value, and this size does not depend on the length of the sequence. Prior FPGA work on transformer decoding includes multi-FPGA appliances [9], spatial-dataflow analysis [10], bandwidth-aware mapping [11] and the edge accelerators TeLLMe and EdgeLLM [12], [13]. All of these designs manage a KV cache, not a recurrent matrix state. Several accelerators target Mamba, which is another recurrent architecture [14]–[19]. None of them evaluates the paging of a Gated DeltaNet state, which we study here. For its number formats, our tile uses two known techniques. Weight-only quantization reduces the storage of the model [20], [21], and shared-exponent formats allow arithmetic with narrow mantissas [22]. B. Comparison with the closest prior work

Gupta et al. evaluate the recurrent update of Gated DeltaNet on an Alveo U55C FPGA card, with a state that stays on chip [5]. We refer to this update as the recurrent kernel, and we adopt their fused formulation of it. Our work differs in two respects. First, their 2 MB state stays in 2

Preprint, submitted to IEEE OJ-CS

block memory, whereas the recurrent state of our model exceeds the block memory of our device. Second, they evaluate the kernel alone, whereas our tile implements the complete layer with its projections, its convolution and its gated MLP. The latency of their kernel and the latency of our layer are therefore not directly comparable. A study of a 1.2B-parameter gated state-space model also finds that weight reads dominate the memory traffic of decoding [23], and DeltaLog reduces the write traffic of the recurrent state for cases in which maintaining the state is costly [24]. Other designs change the function of the hardware at run time. PD-Swap uses dynamic partial reconfiguration to change between the processing of the prompt (prefill) and decoding, and it reports about 45 ms per reconfiguration [25]. TRINE switches dataflows on a shared processing array after it drains the pipeline [26]. Our processing element has three fixed operating modes and changes its mode without loading a bitstream. A mode switch takes three cycles when the element is idle (simulation) and at most 34 cycles when it must first finish its work (board test). The three mechanisms differ in kind, so these numbers are given for orientation only. Multicast by destination mask is known from accelerator interconnects [27]. Our design adopts it and converts each multicast request into one unicast message per destination at the point of injection. Our contribution here is the integration of multicast with the tile and the processing elements. Exact comparison with a software reference is an established practice for arithmetic units [28], [29]. BitLogic also checks neural-network RTL for FPGAs against a Python reference in simulation [30]. Our evaluation extends such comparisons from simulation to execution on the board. Table 1 compares the closest prior work with this work on four criteria, namely what is implemented, where the recurrent state is stored, the device and the type of evidence, and the check of exactness. The last row of the table summarizes this work, which implements a complete layer, pages the state and reports exact comparisons in simulation and on the board. C. Embodied perception and acoustic front-ends

Language models for embodied systems such as vehicles and robots [32]–[34] take a long time per step on edge GPUs compared with the period of a control loop [35]. Prior work addresses this mismatch by compression [36], by reuse [37] and by the separation of fast and slow paths [38], [39]. Our scene cache takes a different route because it stores a description of the scene that does not depend on the model. The acoustic processing that fills the cache early uses the generalized cross-correlation (GCC) and the steered response power with phase transform (SRP-PHAT) [40]– [42]. It runs on the occluded-vehicle recordings of Schulz et al. [3], which we refer to as OVAD. Earlier FPGA systems for microphone arrays [43] and SRP-PHAT front-ends for the extreme edge [44] established this kind of processing. Our contribution is to use the acoustic detection to fill the scene cache before the vehicle becomes visible.

Xu et al.

III. System Context: The Multi-Rate Perception Architecture

This section describes the perception system that the decode tile serves, and it derives how often the semantic layer must run. The top row of Fig. 1 shows the architecture, which has two parts that run at different rates. The front-end processes every sensor frame at the sensor rate of 10–100 Hz, and the semantic layer runs only when the scene changes. The frontend maintains a scene description St = {Et , Rt , Ct , Pt }, which stores entities, relations, context and predictive cues [4]. The scene description supplies the planner and the controller, and it also serves as the scene cache for semantic queries. When only positions change, the system reuses the cached context and cues, which is a cache hit. A cache miss occurs on a cold start or when a change of the scene is confirmed, for example a new object class or an acoustic alarm that is raised or cleared, and each miss invokes the semantic layer. Effective query rate. Let η be the hit rate of the cache, that is, the fraction of sensor frames that are served from the cached context Ct and cues Pt . The semantic layer then receives queries at the rate fsem,eff = (1 − η) fsensor ,

(1)

where fsensor is the sensor rate. A single serial server avoids a growing queue only if its mean service time, that is, the latency of one query in the semantic layer, is below the average interval between queries, Tavg = 1/fsem,eff . At a sensor rate of 30 Hz, for example, η = 0.80 gives Tavg = 167 ms, which is enough for a service time of 150 ms, and η = 0.90 gives 333 ms. We therefore use η ≈ 0.80 as the feasibility threshold in this example. To measure η , we replayed the 83 recordings (clips) of the OVAD static test set through the cache policy in software. Over these clips, the mean η is 0.929 and the minimum is 0.852, and the minimum corresponds to Tavg = 225 ms in the 30 Hz example. The mean does not show whether the misses arrive in bursts. We therefore passed the misses of this replay through a queue model of the semantic layer, which is a first-in-first-out server with a fixed service time. The replay advances in steps of 100 ms (hops), and it contains 510 misses in 7,333 hops. The longest burst of misses is 2, and the queue never holds more than 3 queries. After a miss, the cached result is stale until the query is served, and we refer to this interval as the blind window. With a service time of 333 ms, 84.9 % of the queries finish within 333 ms, and the longest blind window is 832 ms. With a service time of 150 ms, every query finishes within 200 ms. Both service times are chosen for illustration. In summary, the semantic layer receives about one query for every 14 sensor frames at the mean hit rate of 0.929. Front-end. The front-end processes the 56 microphone channels in three stages, which compute 512-point FFTs, PHAT whitening [40] and SRP beamforming over 30 azimuths [41]. The results of the front-end match, bit for 3

Preprint, submitted to IEEE OJ-CS

Xu et al.

TABLE 1. Comparison with the closest prior work on the four criteria of this paper. “Resident” means that the recurrent state stays on chip. “Paged” means that the state is read from and written to external memory in pages. Cells report what the cited works state. A dash means that the work does not address that criterion.

Work

What is implemented

Recurrent state

Device and evidence

Exactness

Gupta et al. [5]

Gated DeltaNet decode kernel, five fused phases

2 MB, resident in block memory

Alveo U55C (datacenter). Cycle counts from high-level synthesis and power after implementation. No

—

DUET [31]

Mamba–Transformer hybrid, prefill and decode packages

Mamba

Mamba layers

kept in package-local buffers, residency not stated no comparable

accelerators [14]– [19] TRINE [26]

BitLogic [30]

shared processing array, switched among systolic, SIMD and adder-tree dataflows logic-gate networks

per-head paging evaluation —

—

board run reported 28 nm ASIC synthesis and a cycle-accurate simulator. No prototype FPGA (LightMamba, SpecMamba, LowRank-SSM, eMamba) or ASIC synthesis (MARCA, Mamba-X) Alveo U50 and ZCU104 named. Switch cost reported as negligible in wall time, not in cycles FPGA, post-route figures. Verilator

—

—

—

bit-exact to its Python reference, in simulation

This work

complete Gated DeltaNet layer of a 369M hybrid model

paged, 26.0 MB per decoded token

¬idle[cur] / cyc++

RUN ready=1 en=1≪cur

req_valid ∧ req̸=cur / ack, cyc←1

DRAIN

idle[cur] / cur←nxt, cyc++

ready=0 en=1≪cur

INIT ready=0 en=1≪nxt

icnt = INIT_CYCLES−1 (two cycles) / switch_done; last←cyc; max← max(max, cyc); count++

FIGURE 2. The mode controller of the processing element (Section IV). A mode switch costs D + 3 cycles, where D is the number of cycles that the current engine needs to become idle (drain). Arrow labels read “condition / action”.

bit, a software model of the same integer arithmetic. A 16-bit input gives a quantization SNR of about 98 dB, whereas the acoustic SNR of the workload is 10–30 dB, so the quantization noise is at least 68 dB below the acoustic noise. Over 1,064 one-second segments, the correlation between the fixed-point and the 64-bit floating-point SRP spectra has a median of 1.0000 and a minimum of 0.907. IV. Reconfigurable Tri-Mode Processing Element

This section describes the tri-mode processing element, five of which surround the decode tile on the mesh. An element has three engines and enables one of them at a time, which gives it three operating modes. The parallel mode computes convolutions and dense inner products on 8-bit integers (INT8). The sequential mode runs control tasks. The memory-streaming mode buffers and moves data. The engine of the parallel mode has 16 parallel arithmetic paths (lanes). Each lane computes a six-element INT8 dot product,

Agilex 5 board. Six final builds pass 30 runs of 64 layer-tokens

state engine exact in 72 simulation runs. Kernel and complete layer checked on the board

so the engine performs 96 MACs per cycle with 18 DSP blocks, which are the hard multiplier blocks of the FPGA. Fig. 2 shows the mode controller, which has the states RUN, DRAIN and INIT. A request to change the mode moves the controller from RUN to DRAIN. There it lowers its ready signal and waits until the current engine is idle. In INIT, it enables the target engine, waits two settling cycles and returns to RUN. A mode switch therefore costs D+3 cycles, where D is the number of cycles that the current engine needs to become idle. In simulation, a switch from an idle element costs 3 cycles, and on the device a counter recorded a worst case of 34 cycles, or 0.34 µs at 100 MHz. The decode tile has its own engines (Section V), and the same kind of controller selects among them. The port of the tile adds a handshake state, so that a switch costs 4 cycles from idle and 36 cycles when an engine must first drain, both in simulation. The elements and the tile communicate over a mesh network-on-chip, which carries messages of fixed size called flits. Each flit has a destination mask with one bit per node, so one request can address several nodes at once (multicast). Fig. 3 shows the complete system, with the mesh of six nodes on the left, of which five are processing elements and node 5 is the decode tile, and the engines of the tile on the right. The figure labels the parallel, sequential and memory-streaming modes of an element MAC, SEQ and MEM, respectively. A scheduler sends commands to the nodes as flits and receives their results in the same way. The mesh carries only these commands and results, whereas the weights and the state pages of the tile use two separate

4

Preprint, submitted to IEEE OJ-CS

Xu et al.

scheduler sys_csr — the command register file, an Avalon-MM slave (8-bit address, 32-bit data): every command to an element or to the tile is a flit assembled here

read / write

Avalon-MM master: the testbench, or the in-fabric sequencer on the board

host link, 16 b serial, both directions

ext port (host) 160 b flit ↔ 16 b 10 transfers

gateway = node 0 round-robin: own PE · host · peer

ext port (peer) 16 b, to a peer die

local port

noc_chip — one die route on the chip field =MY_CHIP → mesh · =HOST_CHIP → host port · else → peer port flit = {chip[1:0], mask[5:0], ctrl[7:0], payload[143:0]} ctrl kind: 0 operand A · 1 operand B (+last) · 2 command · 3 result node 1: pe_port + mm_pe R10 (MAC · SEQ · MEM)

node 0: pe_port + mm_pe (MAC · SEQ · MEM)

R00 Y

Y

node 2: pe_port + mm_pe (MAC · SEQ · MEM)

R01

R11

node 3: pe_port + mm_pe (MAC · SEQ · MEM)

node 4: pe_port + mm_pe (MAC · SEQ · MEM)

R02

R12

node 5: tile_port load · desc · start · read x; done, x, status back

X

X

2×3 mesh, XY routing, 4-deep buffers, multicast by destination mask serialized at injection; PE result-buffer overflow is counted; the tile port holds pending results

tile — one Gated DeltaNet layer-token mode_ctrl (Fig. 2): MEM · MAC · CTRL, one engine enabled at a time; 4 cycles idle, 36 with a drain ctrl_unit

matvec

multicycle fp32: norms, conv+SiLU, α, β, gates, residuals

128 MAC/cycle, INT4 g64 weights × bf16 activations w_avm: weights

state_pager + gdn_head_core, 8 lanes, 2 heads/page s_avm: pages

loaders: layer table, bf16 params, conv weights, history, residual x — from the port control plane: flits

Avalon-MM 512 b → AXI4 256 b

LPDDR4 controller

read bridge, 8 beats per burst

hard IP (EMIF)

state pages LPDDR4 on the kit

write bridge + read bridge, same LPDDR4

data plane: the tile’s own 512-bit ports, never the mesh

FIGURE 3. The implemented system. Left: the mesh, in which five nodes are tri-mode processing elements and node 5 is the decode tile. Right: the decode tile. The block names are those of the RTL: sys_csr is the command register file, pe_port with mm_pe is a processing element, ctrl_unit is the control datapath, matvec is the matrix-vector engine, and state_pager with gdn_head_core is the state pager with the state engine. The mesh carries commands and results only, and the weights and the state pages use separate 512-bit ports to the LPDDR4 memory. The peer port can forward flits to a second system.

512-bit ports to the memory. An early design replicated multicast packets in the routers, and it deadlocked after 39 packets in simulation. The final design sends the copies of a request one after another at the point of injection, which removes the dependency that we observed. We have not proved that the mesh is free of deadlock in general. V. The Paged-State Decode Tile

The decode tile is a block of hardware that computes one recurrent layer of the model for one token at a time, that is, with a batch size of one. It consists of a matrix-vector engine, a state engine, a state pager and a control datapath (Fig. 3, right). A layer-token alternates among three kinds of phases. In the matrix-vector phases, the tile reads weights from external memory and multiplies them by a vector. In the state phase, it pages the recurrent state of the layer in, updates it and pages it out. In the control phases, it computes the normalizations, the convolution and the gates. The design point is one tile that serves all recurrent layers of the model in turn, so the tile keeps the weights and the state in external memory and not on chip. A. Computation of one layer

A layer-token starts with a root-mean-square (RMS) normalization of the input vector. Six input projections then produce the query q , the key k , the value v , the gate z of the output normalization, and the inputs a and b of the decay and of the write strength, respectively. The first three share one concatenated matrix, so four matrix products produce the six vectors. A short causal convolution and a sigmoid linear unit (SiLU) activation process q , k and v , and the query and the key are then normalized with the ℓ2 norm in

each attention head. After the update of the recurrent state, the layer applies a gated output normalization and an output projection. A residual addition, a second normalization, a gated MLP and a second residual addition complete the layer. The update of the recurrent state, which is the recurrent kernel, follows the fused formulation of [5]. For one head with the state S , the decay α, the write strength β and the vectors q , k and v of the current token, s = q · k, ∆v = β (v − r), dk ×dv

r = αS⊤ k, o = ô + s ∆v,

ô = αS⊤ q,

(2) ⊤

S ← αS + k ∆v . (3)

dk

Here S ∈ R , q, k ∈ R and v ∈ Rdv , and o is the output of the head. The read pass computes the stored value r and the decayed output ô from the state, and the write pass applies the rank-one update of S . These two passes dominate the cost of the kernel, but not the cost of the complete layer. Model. The model is a custom pruned and distilled derivative of Qwen3.5-0.8B-Base [45]. The hidden dimension remains 1,024, and pruning reduces the width of the MLP from 3,584 to 1,792 and the vocabulary to 70,000 entries. The model has 368,930,444 parameters, of which 368,570,368 are the weights of 187 linear matrices. Of its 24 layers, 18 are Gated DeltaNet layers (the recurrent layers) and six are gated-attention layers, so the model is a hybrid. The attention layers are at positions 3, 7, 11, 15, 19 and 23, where the first layer has position 0. Each recurrent layer has 11 heads of dimension 128 for the query, the key and the value, and a convolution of length 4. We distilled the model and then adapted it on question–answer examples built on the UT Campus Object Dataset (CODa) [46]. The resulting weight file has not been released, and the technical supplement records the training budget, the size of the file and its SHA-256 digest.

5

Preprint, submitted to IEEE OJ-CS

Xu et al.

B. Number formats

TABLE 2. Calculated memory traffic per decoded token for the whole

Weights. The 187 linear matrices are stored as 4-bit integer (INT4) codes in groups of 64, and each group has one scale σ in the 16-bit floating-point format bfloat16 (bf16). The quantization is symmetric, with all zero points equal to zero, so the hardware uses codes from −8 to 7. A codebook stores the dequantized value T [c] = RNEbf16 (c · σ) for each code c, where RNEbf16 rounds to bf16 with ties to even. The hardware reads the value from the codebook, so it does not multiply by the scale at run time, and this lookup matches the dequantization of the reference for all 368,570,368 weights. The parameters of the normalizations, of the convolution and of the decay remain in floating point. One recurrent layer stores eight matrices, which are the four matrices of the input projections, the matrix of the output projection and the three matrices of the gated MLP, and together they contain 12,736,512 weights. The final projection of the model onto the vocabulary, which we refer to as the vocabulary projection, shares its weights with the input embedding. Activations. The activations are in bf16. For the matrixvector products, they are converted in groups of 64 to a block-floating format, in which the values of a group share one exponent and each value has a mantissa of 19 bits. State. Inside the tile, the state of a head is also in a block-floating format, with an 18-bit mantissa m per element and one exponent e per head, so that S = m 2e−15 . In external memory, the mantissas have 16 bits. When the tile writes a head to memory (page-out), it computes m16 = sat16 (⌊(m18 + 2)/4⌋) and stores the exponent e16 = e + 2, which compensates for the division by four. When the tile reads the head back (page-in), it restores m18 = 4m16 and e = e16 − 2. The conversion loses two bits of the mantissa, and we refer to it as page rounding. Layout in memory. A beat is one 512-bit transfer to or from the memory. Each head starts with a header beat, whose first byte holds the exponent. Each data beat stores 2W mantissas of 16 bits, where W is the number of lanes of the state engine (Section V-D), and its remaining 512−32W bits are zero padding. A head therefore takes 1 + 128(128/W )/2 beats. The tile transfers the state in pages of two heads.

model, in MB, at a context of 744 tokens. The two columns differ in the

C. Memory traffic and operation count

The recurrent state of the 18 recurrent layers has 18 × 11 = 198 heads of 128 × 128 elements. At two bytes per element, it occupies 6,488,064 bytes, which is 6.49 MB or 6.2 MiB. Table 2 lists the memory traffic that the whole model generates when it decodes one token, by component and for two number formats of the vocabulary projection. The vocabulary projection is outside the scope of the tile, so the table gives both formats. All values are calculated from the dimensions of the model, for a context of 744 tokens, and they exclude protocol overhead. One read and one write of the state without padding would move twice its size, 12.98 MB, as the last row of the table shows. With the implemented layout (W = 8), half of every

number format of the vocabulary projection. The last row gives the state traffic without headers and padding, for comparison.

Component

Vocabulary projection in bf16 INT4

INT4 weights of the layers Scales of the weights Vocabulary projection KV-cache reads of the attention layers

148.45 9.28 143.36 9.14

148.45 9.28 38.08 9.14

State read and write, implemented Convolution history Read of one embedding row

25.98 0.91 0.002

25.98 0.91 0.002

Total Share of the state

337.12 7.7 %

231.84 11.2 %

State read and write, without padding

12.98

12.98

data beat is padding, and one read and one write of all 198 heads move 25,977,600 bytes, or 25.98 MB. Even with the padding, the state is 7.7 % to 11.2 % of the total traffic, and the weights of the layers and of the vocabulary projection account for most of it. In arithmetic operations, the whole model needs 392,015,872 MACs per decoded token, of which the recurrent kernel contributes 9,732,096, or 2.48 %. D. Engines

State engine. The state engine computes the recurrent kernel. It has W lanes and processes W state elements per cycle in each pass. It stores its operands in block memories, not in registers, and the read pass and the write pass share one pair of multipliers per lane. Matrix-vector engine. This engine computes all products of a weight matrix and an activation vector, that is, the projections and the MLP. It has NL lanes, and each lane multiplies an INT4 weight by a 19-bit mantissa and accumulates the product. A reader supplies the weights from external memory in bursts of several beats over a 512-bit port, and a floating-point accumulator aligns the sum of each group to a running exponent. State pager. The state pager moves the pages between the state engine and external memory over an Avalon memory-mapped (Avalon-MM) interface. It uses double buffering. With a simulation model of the memory, the page transfers therefore overlap the computation, and only the first page-in and the last page-out add latency. Control datapath. All other operations, namely the normalizations, the convolution with its activation, the scalars α and β , the gates and the residual additions, run on one shared fp32 datapath. It has a multiplier, an adder and units for exp, reciprocal, reciprocal square root and log(1 + x), and a short sequence of steps drives it for each operation. A version with separate arithmetic units for all

6

Preprint, submitted to IEEE OJ-CS

steps would have needed about 20k adaptive logic modules (ALMs), which is 43 % of the device.

Xu et al.

TABLE 3. Relative errors of the fixed-point state engine against fp32, computed with (4). Every row covers 18 recurrent layers, two prompts and 64 tokens. Page rounding, where used, is applied at initialization and after

E. Bit-exact verification

Because the state is recurrent, a numerical discrepancy at one token propagates to the later tokens. We therefore test two properties separately, namely the accuracy of the fixed-point arithmetic against fp32 and the exact agreement between the RTL and the fixed-point reference. Before the board experiments, the RTL passed five simulation tests against the reference, which the supplement lists. They cover the state engine on layer 0 (Test 1), the matrix-vector engine on 2,992 matrixvector products with 5,304,256 output values, the state pager, the mode controller and the whole tile. The rest of this subsection first measures the approximation error, then describes a defect that Test 1 did not expose, and finally repeats the exact comparison of the state engine on all 18 recurrent layers. The numerical tests of this subsection use the two prompts (Section VI), and Section VIII reports the tests on the board. Approximation error of the state engine. The first experiment measures, in software, the error of the fixed-point state engine against fp32. A fixed-point model of the engine receives the fp32 inputs of the kernel, quantizes them once and then computes 64 tokens. The engine also limits the number of bits by which the exponent of the state may grow in one token. We refer to this limit as the shift limit, and the parameter SH_MAX sets it. The fixed-point reference uses SH_MAX = 31, whereas the original RTL used SH_MAX = 3, and we evaluate both values. For each prompt and each recurrent layer, we compute the relative error maxt,h,i |Xfx − Xfp32 | EX = , X ∈ {o, S}. (4) maxt,h,i |Xfp32 | Here the subscripts fx and fp32 denote the fixed-point and the fp32 values, i indexes the elements of the output o or of the state S , and each maximum spans the 64 tokens t and the 11 heads h. Table 3 reports the largest EX over the 18 recurrent layers and the two prompts, for both shift limits, with and without page rounding. With a shift limit of 31, the errors stay below 0.7 %. With a shift limit of 3, they reach 5 % for the output and 19 % for the state, and page rounding makes no difference to these maxima. The supplement reports two further measures, namely the error normalized separately for each head and each token, and the error of the whole layer, which is of the order of 10−3 . Defect in the shift limit. The large errors for a shift limit of 3 in Table 3 come from two events. We tested both shift limits on 25,344 head-tokens each, which are 18 layers, 11 heads and 64 tokens for each of the two prompts. With a limit of 3, the required growth exceeds the limit twice, at recurrent layer 1, head 1 and token 45, once for each prompt, where all indices start at zero. In each event, the engine needs to raise the exponent by four bits but may raise it only by three, so one element of the update saturates. The original RTL counted saturation only in the write pass, whereas this saturation occurs before the write pass, so its

each token. These are software results.

Shift limit (SH_MAX)

Page rounding

Max Eo

Max ES

4.69×10−4

31 (reference) 3 (original RTL) 31 (reference)

no no yes

6.43×10−3

4.40×10−4 1.91×10−1 1.10×10−3

3 (original RTL)

yes

5.15×10−2

1.91×10−1

5.15×10−2

counter stayed at zero. Because the state is recurrent, the error persists into the later tokens and affects many more than two outputs. For the other 34 combinations of prompt and layer, the limit has no effect on these inputs. Repair and tests on all layers. The repaired RTL uses a shift limit of 31, as the reference does, while the exponent itself remains limited to −12 ≤ e ≤ 8. New counters also report saturation before the write pass and each time a limit is reached. We then compared the repaired state engine with the reference in 72 simulation runs, which cover the 18 recurrent layers, the two prompts and the widths W = 16 and W = 8. All 72 runs pass. Each run has 64 tokens and compares 90,112 output words and 11,534,336 state mantissas, together with the exponents and the event records. Test 1 sampled the state at only eight tokens and missed the defect, whereas these runs check the state after every token and therefore include token 45. For comparison, we also ran the original RTL on recurrent layer 1, and both runs fail, with 43,592 and 43,382 state mismatches for the two prompts, respectively. VI. Platform and Methodology

All hardware targets one device, an Altera Agilex 5 E-Series SoC-FPGA on the DK-A5E013BM16AEA development kit, which provides two LPDDR4 interfaces and on-board JTAG. Fig. 1(a) shows the kit, Fig. 1(b) shows where each part runs, and Fig. 3 shows the system as the RTL instantiates it. All datapaths are in the programmable logic and run without an operating system, so the measurements reflect the architecture alone. We simulate the tile in Questa Altera Starter FPGA Edition 2025.3 and the engines of the front-end in Vivado 2025.1 XSim, and we build the final bitstreams with Quartus Prime Pro 26.1.1, Build 130. One compilation of a design into a bitstream is a build. The workload of the front-end is the OVAD dataset of occluded vehicles [3], which contains real 56-channel recordings at blind T-junctions. We quantize the audio and replay it from on-chip memory. The workload of the decode tile is one recurrent layer of the model (Section V). The numerical tests use two prompts from the CODa question set, namely a counting question and a direction question. After the scene is serialized into text and the answer options are formatted, they contain 744

7

Preprint, submitted to IEEE OJ-CS

per-clip cache hit-rate η

1.0

Xu et al.

TABLE 4. The two tile configurations that fit the device, from the design

dashed line: η ≈ 0.80 feasibility threshold

study. NL and W are the numbers of lanes of the matrix-vector engine 0.8 worst clip η = 0.852

0.6

and of the state engine. Cycle counts come from RTL simulation with the memory model, and times are calculated at 150 MHz. ALM, M20K and DSP

0.4

are the logic, memory and multiplier blocks of the device, and Fmax is

0.2

the maximum clock frequency. A third configuration, with NL = 128 and W = 16, does not fit the device.

0.0

flat cache

layered

layered + confirm-3

FIGURE 4. Cache hit rate η of each of the 83 clips for three versions of the cache policy. Boxes span the quartiles, and whiskers span the full range. Diamonds mark the means, and points mark the individual clips. The dashed line is the feasibility threshold η ≈ 0.80 (Section III). Only the full policy places every clip above the threshold, and its lowest clip is at η = 0.852.

and 244 tokens, respectively, and the first prompt sets the context of 744 tokens in Table 2. We tokenized the prompts with the public Qwen3.5 tokenizer and mapped the tokens to the 70,000-entry vocabulary with a stored table. In simulation, we compare the outputs of the engines with the fixed-point reference. On the board, test logic compares selected results with stored expected values, and the host reads back counters and signatures through virtual JTAG. A signature is a checksum that the hardware accumulates over a sequence of words. VII. Front-End Results and Design Study of the Tile

This section reports the results of the front-end on the board and the design study of the decode tile, which uses simulation and tile-only builds. Section VIII reports the board runs of the tile. A. Results of the front-end: engines, cache and classifier

We measured the front-end on the board at a clock of 100 MHz and read the results over virtual JTAG. In six separate test builds, every result word that we read from the device matched the RTL simulation. The front-end processes one audio frame of the 56 channels in 7.02 ms (702,387 cycles), and all 120 outputs on the chip match the reference. A replay of one recorded clip on the board gives a hit rate of η = 0.901, with 9 misses in 91 hops. Fig. 4 shows the distribution of η over the 83 clips of the software replay for three versions of the cache policy. If the system queries the semantic layer on every change of the scene description, the mean η is 0.402 (flat cache in Fig. 4). If updates of positions are absorbed at the sensor rate and cause no query, the mean η is 0.588 (layered cache). The full policy adds a rule, referred to as confirm-3, under which a change of object class or of the acoustic alarm must persist for three consecutive hops before it causes a query. This rule raises the mean η to 0.929 and keeps every clip above the feasibility threshold of 0.80. The board replay and the software replay implement this rule slightly differently, and on the clip of the board replay they give 9 and 10 misses in 91 hops, respectively, as the supplement explains.

Cycles per layer-token Time at 150 MHz ALM M20K DSP Fmax

NL =64, W =16

NL =128, W =8 (chosen)

446,100 2.97 ms 38,888 (83 %) 234 (65 %) 88 (23 %) 155.6 MHz

393,935 2.63 ms 27,105 (58 %) 250 (70 %) 112 (30 %) 158.8 MHz

The acoustic detection also allows a prefetch. In the clip that we replayed on the board, the front-end detects the occluded vehicle 2.3 s before it becomes visible. The system can therefore query the semantic layer on the acoustic cue, so that the result is in the cache before the vehicle appears. In a board test that emulated a latency of the semantic layer of 1,500 cycles, the prefetch reduced the blind window from 1,500 cycles to zero, and the supplement describes the retained record of this test. In the software replay of all clips, with emulated latencies of 50, 150 and 500 ms, the result is in the cache when the vehicle becomes visible in 35, 33 and 28 of the 42 events in which a vehicle emerges, and the mean blind window shrinks by 83, 82 and 75 %, respectively. The front-end also includes a convolutional neural network (CNN) with INT8 arithmetic, which classifies the direction from which a vehicle approaches from SRP spectrograms of 16 × 30 values. Its test accuracy on held-out recordings is 80.3 % in both floating point and INT8, and on the device its 32 output values for eight held-out segments match the reference exactly. One inference requires 357,760 MACs and takes 0.459 ms. B. Design study of the tile

Before the board experiments, we compared configurations of the tile in RTL simulation with a memory model and in tile-only builds. Table 4 lists the two configurations that fit the device. The chosen configuration has NL = 128 lanes in the matrix-vector engine and W = 8 lanes in the state engine, whereas the alternative has NL = 64 and W = 16. Halving the state engine costs 29,660 cycles per layer-token, but doubling the matrix-vector engine saves 81,825, so the chosen configuration is faster. It also uses fewer ALMs, which are the limiting resource, and leaves 42 % of the device for the memory interface and the readback logic. Of this difference, 2,697 ALMs come from the numbers of lanes and the rest from how the RTL describes one memory. The study gave two further results, which the supplement documents. First, the area depends strongly on how the RTL

8

Preprint, submitted to IEEE OJ-CS

describes the memory for the converted activations. Describing this memory as NL /8 independent banks instead of one wide register reduced the tile from 36,191 to 27,105 ALMs and raised its maximum clock frequency Fmax from 154.6 to 158.8 MHz, without any change of the arithmetic. Second, sharing the multipliers among the engines does not pay off on this device. In a test on the 64-lane tile, sharing reduces the DSP blocks from 88 to 72, but it increases the ALMs from 38,724 to 39,690 and lowers Fmax from 161.2 to 159.6 MHz, and logic, not DSP blocks, is the limiting resource. C. Scheduling of the control datapath and the limit of the memory link

The control datapath processes one entry of a vector at a time, and each of its operations is a chain of dependent steps. The convolution, for example, needs 50 cycles per entry, and in 43 of them one arithmetic unit waits for another. Consecutive entries are independent of each other, however, so we overlap them with modulo scheduling, in which a new entry starts after a fixed number of cycles (22 for the convolution). This change shortens the control datapath from 428,306 to 206,283 cycles per layer-token, which is 2.08× faster, and it made the layer-token 1.59× faster at the time of this change. It costs 391 more ALMs and lowers Fmax by 5.6 MHz. The arithmetic did not change, and the five simulation tests remained exact. The supplement gives the rules of the schedule and the values for the three largest operations. The matrix-vector phases, in contrast, are limited by the delivery of the weights because the 128-lane engine already uses almost every weight that the memory delivers. In simulation, the memory model delivers a beat in six of every seven cycles, and the 128-lane engine consumes 99.9 % of the delivered beats when it runs alone and 99.8 % within the tile. Each beat carries the weights for 120 MACs out of a possible 128 because the remaining bits hold the scales of the groups. With 64 lanes, the engine is limited by its lanes and reaches 61.9 of 64 MACs per cycle. Both configurations therefore operate close to the limit of their matrix-vector engines. For the chosen configuration, a faster link to the memory or a more compact weight format could shorten these phases.

Xu et al.

TABLE 5. The six final board builds. P is the tile alone, and M is the complete system (Fig. 3). All builds run at 75 MHz. The ranges span the three placement seeds. Fmax is the reported value for the clock of the tile.

ALMs

M20Ks

DSPs

Fmax (MHz)

29,958–29,979 40,025–40,077

298 305

108 128

102.64–110.66 98.56–108.77

Config. P M

TABLE 6. Results of the three board tests of the complete layer, for the configurations P and M.

Test Runs after programming Runs of 1,024 layer-tokens Initial run and ten soft resets

P passes

M passes

Layer-tokens

15/15 1/1 11/11

15/15 1/1 11/11

1,920 2,048 352

tool, so that different seeds give different implementations. Table 5 lists the resources and the timing of these six builds. The resources include the memory interface, the readback logic and the logs, so they are not directly comparable with the tile-only values in Table 4. All builds run at 75 MHz, which is below their Fmax of 98.56 to 110.66 MHz. We programmed each build five times, that is, we loaded its bitstream into the device five times, and we started one run of 64 layer-tokens after each programming, which gives 30 runs. In these runs, the complete layer uses a synthetic weight image of 6.8 MB in place of the trained weights. The image has the addresses and the sizes of the real weights, and its content is a fixed hash of the address. The simulation generates the same image, so every data value that the board produces has an exact expected value. Latency counters depend on the memory and are reported as measurements. The recurrent state is kept from token to token. The hardware logs one record for each layer-token in P and for each pair of layer-tokens in M, where the scheduler runs the layer-tokens in pairs. A record contains signatures, counters and status fields. The host reads the records through virtual JTAG, and at selected tokens it also reads the complete output and the complete state pages. B. Exact comparisons

VIII. Board Results of the Decode Tile A. Configurations and method

This section reports the board experiments with the decode tile and the LPDDR4 memory of the kit. We test two system configurations, P and M. Configuration P contains the tile alone, and configuration M is the complete system (Fig. 3), in which the tile is one node of the 2×3 mesh, together with five processing elements and a scheduler in the programmable logic. Both configurations use the eight-lane state engine. Memory bridges connect the tile to the LPDDR4 controller (Fig. 3) and transfer bursts of eight beats. For each configuration, we compiled three builds with different placement seeds, where a seed initializes the placement algorithm of the

Kernel test with real inputs. A separate board design tests the recurrent kernel with real input vectors from recurrent layers 0, 1 and 10 and from both prompts. Each of these six cases runs twice over 64 tokens, and all 12 runs pass. After each token, a comparator on the device checks the complete output, the packed state pages, the exponents in the page headers and the event counters. To confirm that the comparator detects errors, we flipped one bit in the expected state, and the comparator reported it. This test checks the 16-bit pages as they are stored in memory, whereas the simulations (Section V-E) check the internal 18-bit mantissas. Tests of the complete layer. Table 6 summarizes three board tests of the complete layer with the synthetic weights,

9

and every run passes. The first board test consists of the 30 runs (Section VIII-A), and all of them pass. With 64 layertokens per run, they contain 1,920 layer-tokens, and 47,520 record fields agree exactly with the simulation. A record field is a signature, a counter or a status value, not an individual word of a tensor. In addition, the complete output and the complete state pages are read back and compared word by word at selected tokens, which the supplement lists, and at the last token of every run. Four of the five runs of each build execute without interruption, and the fifth pauses for detailed readback, so we exclude it from the latency statistics. In the second board test, P and M each pass one uninterrupted run of 1,024 layer-tokens, during which the recurrent state is never reset or reloaded. In the third board test, each configuration passes eleven runs of 16 layer-tokens, namely an initial run and ten runs that each follow a soft reset from the idle state, that is, a reset through a control register without reprogramming. In total, the three tests comprise 54 runs, and all 106,920 comparisons of record fields are exact. C. Latency and the cost of paging

This subsection answers the first research question of the paper. In P, the 12 uninterrupted runs give 768 records, one per layer-token. The median latency of a layer-token is 836,555 cycles, or 11.154 ms at 75 MHz, with a range of 836,249 to 837,124 cycles. Of this latency, the matrix-vector phases take a median of 516,318 cycles (62 %), the control phases take 206,283 cycles (25 %), and the state phase takes a median of 111,817 cycles (13 %). The state phase includes the update of the state, the paging and a wait of 187 cycles for the write responses of the memory (Section VIII-D). The state phase is thus the shortest of the three, and the matrix-vector phases, which depend on the delivery of the weights, are the longest. Paging the state is therefore not the bottleneck of this layer. This latency is larger than 2.63 ms (Table 4), mainly because the board runs at 75 MHz instead of 150 MHz and because the memory bridge of the board delivers the weights more slowly than the memory model of the simulation. An earlier build, which kept the state of its one layer on chip and read the same synthetic weights from the LPDDR4 memory, shows the size of the second effect. With bursts of eight beats, a layer-token took 786,220 cycles in this build, whereas it takes 393,935 cycles in simulation with the memory model, and all of the increase is in the matrixvector phases. The bridge delivered 0.21 beats per cycle, which is about 1.0 GB/s at 75 MHz. With bursts of 128 beats, the latency fell to 502,897 cycles, or 6.7 ms. Fig. 5 is a roofline plot of these results, that is, a plot of the rate of MACs against the rate at which the weight bytes arrive over the link from the memory, with the limits that this memory link and the engine impose. Both measurements lie on the sloped line, where the memory link limits the rate, and not on the horizontal line, where the 128 lanes would limit it. The final tile also uses bursts of eight beats, and the 516,318 cycles of its matrix-vector phases correspond

Xu et al.

MAC per cycle

Preprint, submitted to IEEE OJ-CS

compute roof: 128 lanes

128

yte

64 32

of: k ro

lin

16 10

74

1.8

C/b MA

model 128 beats

8 beats

150 MHz

75 MHz

20

50

100

weight bytes delivered per cycle FIGURE 5. Roofline plot of the memory link for the weights, from the experiment with the state on chip. It shows the rate of MACs as a function of the rate at which weight bytes arrive. The layer performs 12,736,512 MACs over a weight image of 6,796,032 bytes, which gives 1.874 MACs per byte (sloped line). The 128 lanes limit the rate to 128 MACs per cycle (horizontal line), and the two lines meet at 68.3 bytes per cycle. Filled markers are measurements on the device with bursts of 8 and 128 beats, and the open marker is the memory model. Dashed lines show the peak rate of the LPDDR4 memory, 8.53 GB/s, at 75 and 150 MHz.

to the lower of the two measured points. The build with 128-beat bursts predates the repairs (Section VIII-D), so the 6.7 ms belong to that earlier build and not to the final tile. In M, the 12 uninterrupted runs give 384 records, one per pair of layer-tokens. The median duration of a pair is 2,234,305 cycles, or 29.791 ms. This duration includes the loading of the tile through the mesh, the routing and the work of the scheduler, so it is not the latency of two layer-tokens. D. Implementation repairs

The six final builds (Table 5) include four repairs because the original builds failed some board runs although they had met their timing constraints. In the original build of the tile alone, for example, the first token was correct in all five runs, but the second token was correct in only three. The repairs are as follows. First, we set the shift limit of the RTL to that of the reference (Section V-E). Second, we changed the ready signal of the port of the processing element, which removed five combinational loops. Third, the pager now waits until the memory has acknowledged all pending writes before it reads a page that depends on them. Fourth, we added registers that hold the operands of the control datapath stable while its arithmetic units evaluate them over several cycles, and the timing exceptions that allow these units more than one clock cycle now start at these registers. The fourth repair was necessary because builds with only the first three repairs failed all 15 runs of P and the five runs of one seed of M, although their timing reports showed positive slack. With all four repairs, the six final builds pass every test in Table 6, and they meet all timing requirements that the tool analyzes at 75 MHz, with a setup slack of 3.590 to 4.296 ns and a hold slack of 0.000 to 0.005 ns. This evidence supports the four repairs as a set, and the supplement documents the original failures and the checks of each repair. IX. Discussion, Limitations, and Conclusion A. Interpretation and limitations

The evidence supports paging as a practical way to store the state of this model when it decodes one sequence at a time. This conclusion depends on the dimensions of the model, the 10

Preprint, submitted to IEEE OJ-CS

page layout, the burst behavior of the memory and the batch size, so it should not be extended to models with a larger state or to batched workloads without new measurements. The evidence has the following limits. Exact agreement holds for the tested interfaces and inputs, that is, for two prompts and for one device under nominal conditions, and it does not establish the accuracy of the model on a task. For the complete layer, which runs with synthetic weights on the board, the readback of the complete state covers selected tokens, and signatures cover the other tokens. We did not evaluate longer contexts, and we did not implement the six attention layers, the vocabulary projection or the processing of the prompt. The front-end and the tile have not yet run at the same time, and the forwarding of flits between two systems is shown only within one FPGA. The supplement records three remaining implementation limits. We did not formally verify the signals that cross between clock domains, and a processing element drops a result when its output is blocked. We also did not measure power, and the supplement explains why the estimate of the vendor tool, about 0.35 W of dynamic power for the tile, hardly depends on the workload. B. Conclusion

We built and measured a decode tile that pages the recurrent state, for one complete Gated DeltaNet layer of a custom 369M model on an edge FPGA. For the whole model, paging moves 26.0 MB per decoded token, which is 7.7–11.2 % of the calculated memory traffic. Of the 11.15 ms that the tile needs per layer-token at 75 MHz, the matrix-vector phases take about 62 % and the state phase about 13 %. The state is thus too large for block memory, but the dominant measured cost is the delivery of the weights and not the paging. The tile operates as one node of a multicast mesh of tri-mode processing elements, whose mode switch costs 3 cycles from idle in simulation and at most 34 cycles on the device. The verification flow separates the numerical approximation from the exact agreement of the implementation with its reference. Comparisons of the state on all 18 recurrent layers exposed a wrong shift limit, and the repaired RTL passes all 72 simulation runs of the state engine. On the board, the six final builds pass all 30 runs after programming, as well as the tests with resets and with long sequences. These results establish exact agreement at the points of comparison. Supplementary material

A technical supplement specifies the numerical formats, the test coverage, the build records, the design study and the original failures. An evidence archive contains the RTL, the scripts, the reference records and the board logs, but not the trained weights or some of the generated test vectors. Acknowledgment

OpenAI Codex and Anthropic Claude assisted with language editing and organization of the abstract, Sections I–IX, and the technical supplement. Under the authors’ direction, they

Xu et al.

also assisted with the test scripts, the repairs of Section VIIID, and the log cross-checks. REFERENCES [1] A. Katharopoulos et al., “Transformers are RNNs: Fast autoregressive transformers with linear attention,” in Proc. ICML, 2020, pp. 5156– 5165. [2] S. Yang, J. Kautz, and A. Hatamizadeh, “Gated delta networks: Improving Mamba2 with delta rule,” in Proc. ICLR, 2025. [3] Y. Schulz, A. K. Mattar, T. M. Hehn, and J. F. P. Kooij, “Hearing what you cannot see: Acoustic vehicle detection around corners,” IEEE Robot. Autom. Lett., vol. 6, no. 2, pp. 2587–2594, 2021. [4] C. Xu and R. Sankar, “LVC-World: Structured state abstraction for prediction under perception degradation,” preprint, Zenodo, doi:10.5281/zenodo.21317636, 2026. [5] N. Gupta et al., “A persistent-state dataflow accelerator for memorybound linear attention decode on FPGA,” arXiv:2603.05931, 2026. [6] I. Schlag, K. Irie, and J. Schmidhuber, “Linear transformers are secretly fast weight programmers,” in Proc. ICML, 2021, pp. 9355– 9366. [7] S. Yang et al., “Gated linear attention transformers with hardwareefficient training,” in Proc. ICML, 2024, pp. 56501–56523. [8] T. Dao and A. Gu, “Transformers are SSMs: Generalized models and efficient algorithms through structured state space duality,” in Proc. ICML, 2024, pp. 10041–10071. [9] S. Hong et al., “DFX: A low-latency multi-FPGA appliance for accelerating transformer-based text generation,” in Proc. MICRO, 2022, pp. 616–630. [10] H. Chen et al., “Understanding the potential of FPGA-based spatial acceleration for large language model inference,” ACM Trans. Reconfigurable Technol. Syst., vol. 18, no. 1, pp. 1–29, Mar. 2025, doi:10.1145/3656177. [11] S. Zeng et al., “FlightLLM: Efficient large language model inference with a complete mapping flow on FPGAs,” in Proc. ACM/SIGDA FPGA, 2024, pp. 223–234. [12] Y. Qiao et al., “TeLLMe v2: An efficient end-to-end ternary LLM prefill and decode accelerator with table-lookup matmul on edge FPGAs,” arXiv:2510.15926, 2025. [13] M. Huang et al., “EdgeLLM: A highly efficient CPU-FPGA heterogeneous edge accelerator for large language models,” IEEE Trans. Circuits Syst. I, Reg. Papers, vol. 72, no. 7, pp. 3352–3365, 2025. [14] J. Kim et al., “eMamba: Efficient acceleration framework for Mamba models in edge computing,” in Proc. CODES+ISSS, 2025. [15] D. Yoon et al., “Mamba-X: An end-to-end vision Mamba accelerator for edge computing devices,” in Proc. ICCAD, 2025. [16] R. Wei et al., “LightMamba: Efficient Mamba acceleration on FPGA with quantization and hardware co-design,” in Proc. DATE, 2025. [17] J. Li et al., “MARCA: Mamba accelerator with reconfigurable architecture,” in Proc. ICCAD, 2024. [18] L. Zhong et al., “SpecMamba: Accelerating Mamba inference on FPGA with speculative decoding,” in Proc. ICCAD, 2025. [19] H. Xu et al., “LowRank-SSM: Hardware-software co-design for rankreduced Mamba acceleration on FPGA,” arXiv:2608.02954, 2026. [20] E. Frantar et al., “GPTQ: Accurate post-training quantization for generative pre-trained transformers,” in Proc. ICLR, 2023. [21] J. Lin et al., “AWQ: Activation-aware weight quantization for ondevice LLM compression and acceleration,” in Proc. MLSys, 2024. [22] B. D. Rouhani et al., “Pushing the limits of narrow precision inferencing at cloud scale with Microsoft Floating Point,” in Proc. NeurIPS, 2020. [23] A. Madan Gopal et al., “Structured memory for edge language models: Persistent context and corpus retrieval via O(1) SSM state injection,” arXiv:2608.02560, 2026. [24] J. Lin, J. Sun, and G. Sun, “DeltaLog: Deferred materialization of recurrent states for linear attention decoding,” arXiv:2608.15533, 2026. [25] Y. Zhang et al., “PD-Swap: Prefill-decode logic swapping for end-toend LLM inference on edge FPGAs via dynamic partial reconfiguration,” arXiv:2512.11550, 2025. [26] H. Oh et al., “TRINE: A token-aware, runtime-adaptive FPGA inference engine for multimodal AI,” in Proc. DAC, 2026. [27] L. Colagrande and L. Benini, “A multicast-capable AXI crossbar for many-core machine learning accelerators,” in Proc. AICAS, 2025, pp. 1–5.

11

Preprint, submitted to IEEE OJ-CS

[28] IEEE Standard for Floating-Point Arithmetic, IEEE Std 754-2019, 2019. [29] J. R. Hauser, “The HardFloat, SoftFloat, and TestFloat packages,” accessed Nov. 6, 2026. http://www.jhauser.us/arithmetic/ [30] S. Bührer, A. Plesner, A. Till, and R. Wattenhofer, “BitLogic: Training framework for gradient-based FPGA-native neural networks,” Trans. Mach. Learn. Res., 2026. [31] A. Kanani, S. Lee, H. Lyu, J. Lin, J. Park, and U. Y. Ogras, “DUET: Disaggregated hybrid Mamba-Transformer LLMs with prefill and decode-specific packages,” in Proc. DAC, 2026. [32] J.-J. Hwang et al., “EMMA: End-to-end multimodal model for autonomous driving,” arXiv:2410.23262, 2024. [33] X. Tian et al., “DriveVLM: The convergence of autonomous driving and large vision-language models,” arXiv:2402.12289, 2024. [34] M. J. Kim et al., “OpenVLA: An open-source vision-language-action model,” in Proc. CoRL, 2024, pp. 2679–2713. [35] A. Taherin et al., “Cross-platform scaling of vision-language-action models from edge to cloud GPUs,” arXiv:2509.11480, 2025. [36] J. Wen et al., “TinyVLA: Towards fast, data-efficient vision-languageaction models for robotic manipulation,” arXiv:2409.12514, 2024. [37] S. Xu et al., “VLA-Cache: Efficient vision-language-action manipulation via adaptive token caching,” arXiv:2502.02175, 2025. [38] L. Sun et al., “UniFS: Unified fast-to-slow hierarchical architecture for vision-language-action models,” arXiv:2606.22794, 2026. [39] J. Williams et al., “LiteVLA-H: Dual-rate vision-language-action inference for onboard aerial guidance and semantic perception,” arXiv:2605.00884, 2026. [40] C. H. Knapp and G. C. Carter, “The generalized correlation method for estimation of time delay,” IEEE Trans. Acoust., Speech, Signal Process., vol. 24, no. 4, pp. 320–327, 1976. [41] J. H. DiBiase, H. F. Silverman, and M. S. Brandstein, “Robust localization in reverberant rooms,” in Microphone Arrays: Signal Processing Techniques and Applications. Springer, 2001, pp. 157–180. [42] F. Grondin and F. Michaud, “Lightweight and optimized sound source localization and tracking methods for open and closed microphone array configurations,” Robot. Auton. Syst., vol. 113, pp. 63–80, 2019. [43] B. da Silva, A. Braeken, K. Steenhaut, and A. Touhafi, “Design considerations when accelerating an FPGA-based digital microphone array for sound-source localization,” J. Sensors, vol. 2017, art. 6782176, 2017. [44] J. Yin and M. Verhelst, “CNN-based robust sound source localization with SRP-PHAT for the extreme edge,” ACM Trans. Embedded Comput. Syst., vol. 22, no. 3, pp. 1–27, 2023, doi:10.1145/3586996. [45] Qwen Team, “Qwen3.5-0.8B-Base,” Hugging Face model card, 2026. https://huggingface.co/Qwen/Qwen3.5-0.8B-Base [46] A. Zhang et al., “Toward robust robot 3-D perception in urban environments: The UT campus object dataset,” IEEE Trans. Robot., vol. 40, pp. 3322–3340, 2024.

CONG XU (Member, IEEE) received the B.S. degree in electrical engineering and automation from Zhengzhou University, Zhengzhou, China, and the M.S. degree in electrical engineering from the University of South Florida, Tampa, FL, USA, in 2020, where he is currently pursuing the Ph.D. degree in electrical engineering with the Department of Electrical and Computer Engineering, as a member of the Interdisciplinary Communications, Networking and Signal Processing (iCONS) Lab. His doctoral research asks how languagemodel reasoning can be brought onto resource-constrained embodied platforms, spanning perception algorithms, language-model interfaces and hardware implementations. His research interests include language–vision collaborative SLAM, structured world models for embodied agents, crossmodal risk perception under sensor degradation, semantic serialization as a perception interface for small language models, and efficient on-device AI on FPGA and SoC platforms. He is currently a Technology Specialist with Global Electronics Testing Services, Tampa, FL, USA.

Xu et al.

RAVI SANKAR (Life Senior Member, IEEE) received the B.E. (Honors) degree in electronics and communication engineering from the University of Madras, India, the M.Eng. degree in electrical engineering from Concordia University, Canada, and the Ph.D. degree in electrical engineering from The Pennsylvania State University, USA. He has been with the Department of Electrical and Computer Engineering, University of South Florida, Tampa, FL, since 1985, where he is currently a USF Theodore and Venette AskounesAshford Distinguished Scholar award-winning Professor and the Director of the interdisciplinary Communications, Networking and Signal Processing (iCONS) research lab. He was a 2015–16 Fulbright Fellow to Brazil to conduct collaborative research focusing particularly on the use of multiple sensors and signal processing to improve healthcare, and was a visiting research fellow of the Japanese Society for the Promotion of Science (JSPS), nominated by the NSF in spring 2000 to conduct collaborative research in Japan. He also held visiting positions at the University of Melbourne, Australia, in summer 2000, the U.S. Air Force Research Lab (Rome Lab), Rome, NY, in summer 1997, and Motorola, Boynton Beach, FL, in summer 1991. Prof. Sankar’s main research interests are in the areas of wireless communications, networking, signal processing, and their applications. His current focus is on advancing healthcare and intelligent systems through multimodal sensing, signal processing, machine learning and AI, wearable technologies, and edge intelligence. He has published extensively in those areas with over 250 papers in journals and premier international conferences and several book chapters. His research has been cited widely, as measured by an h-index of 33 and an i10-index of 93. Through the years, he has supervised 8 post-doctoral researchers, over 72 Ph.D. and M.S. students, and numerous B.S. senior capstone design projects. Further, he has mentored many more students, including another 15 Ph.D. students, and is currently directing 3 Ph.D. students. The iCONS research lab under his leadership has successfully conducted numerous funded research projects over the years with support from various federal and state agencies and industries. Research contributions of the lab have been widely recognized for their quality and reputation and further advanced by fostering major international collaborations in South Korea and Brazil. Prof. Sankar was a Distinguished Lecturer for the IEEE Engineering in Medicine and Biology Society (EMBS) in 2014–16. He has delivered numerous (more than 50) plenary, keynote, or invited lectures at international conferences and institutions over the years all over the world, including Korea, Japan, Mexico, Brazil, and India. He has received numerous awards, including the IEEE Florida Council Outstanding Engineering Educator award and the Outstanding Contributions in Research award from the ASEE. He has served on the editorial board of several journals, including as an Associate Editor of IEEE Communications Surveys and Tutorials, on organizing committees and technical program committees, and as a session organizer and chair for many flagship IEEE conferences. He was the organizer and co-chair of the US–Korea Joint International Workshop on Global Wireless Sensor Networks (GWSN), sponsored by the NSF and KOSEF (Korea Science and Engineering Foundation), held in Korea in 2009 and 2011. He has served the IEEE in various capacities, such as the Founding Chair of the Engineering in Medicine and Biology Society (EMBS) chapter of the IEEE Florida West Coast Section and the Vice-Chair of the IEEE Signal Processing Society chapter.

12

Related documents

Record · ID 1672081 · SHA-256 c63f18a83a1692e8
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive