Atelier des rouesLab FR
Register/AT.H3
Verified synthesis and equivalence · AT.H3

Three circuits for six runtime digits

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I compare three LUT-only realizations of a six-digit, runtime modulo-five residue function, preserving codes 5–7: the signed-pair form has the smallest reported depth (five levels), while Horner uses fewer LUTs. Beuchat and Muller give a modular Horner recurrence; Ugurdag et al. compare constant-divider architectures. My specific contribution is this bounded encoding and mapping comparison, useful for choosing a residue block. Routing and a second modulus remain untested here.

Modulo M multiplication-addition: algorithms and FPGA implementation — J.-L. Beuchat and J.-M. Muller · Hardware division by small integer constants — H. Fatih Ugurdag, Florent de Dinechin, Y. Serhan Gener, Sezer Gören, and Laurent-Stéphane Didier

How I rate results

Assumptions

I fix a three-bit initial residue, six variable binary digits, identity on codes 5–7 and combinational output on iCE40 HX.

Result

In LUT-only logic I obtain 23 LUTs at depth seven for Horner, 124 at depth seven for lookup and 25 at depth five for signed radix four. I check the 512 inputs of all three RTL descriptions and six netlists, with and without dedicated resources.

Prior work

Ugurdag, de Dinechin, Gener, Gören & Didier, Hardware division by small integer constants · YosysHQ, synth_ice40

Next question

Compare against staged lookup architectures and test whether the depth advantage survives routing.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.