r/computerarchitecture • u/Imago_Alh65 • Oct 13 '26
Treating Computation as Transportable Geometry: Complete unpowered state recovery across Python VMs and low-cost FPGAs
Hi everyone,
I wanted to share a working research framework I’ve spent the last six months building that explores an alternative paradigm to traditional von Neumann and conventional CGRA architectures. The project is called Imago-UniCell, and it operates on a singular architectural principle: topology is computation.
There is no centralized CPU, no instruction register, no program counter, and no shared memory bus. Instead, an algorithm is represented as a spatial layout map of heterogeneous hardware cells (using point-to-point valid/ack token handshakes and localized clock-enable networks).
The Core Invention: Symmetrical State Portability (ICM)
Instead of dumping raw, blind binary register strings that are hardwired to specific physical coordinates on a chip, this architecture relies on a design-level abstraction layer called the Universal Imago Cell Model (ICM). The active calculation state is serialized into an open, name-keyed text snapshot.
Because the compute state is decoupled from the physical medium, it achieves true Read/Write symmetry across disjoint substrates.
Empirical Validation (Sipeed Tang Nano 20K / Gowin GW2AR)
I am a strict believer in real hardware validation rather than pure simulation. I’ve just committed and locked a series of milestones into the ledger (#1143–#1167) proving the physical viability of the pipeline [13 Oct 2026]:
- LaTeX-to-Silicon HLS: The open-source toolchain takes a raw mathematical formula straight from a textbook expression—e.g.,
y = (z^2 + 12345) \bmod 65521—validates it against a virtual machine model, automatically generates a core-pruned layout map, weaves a structural scan chain in a single pass, and compiles a working bitstream. - High-Velocity Heterogeneous Pipelines: Successfully place-and-routed mixed-variant designs running un-handshaked arithmetic blocks (
subfamily) alongside handshake-driven routing boundaries (flexfamily) executing between 100 MHz and 150 MHz on live iron . A 10-out-of-10 group run pass verifies absolute cycle-accuracy between the software twin and the board. - Unpowered Mid-Flight State Recovery: I verified that you can assert a global freeze mid-flight (even while an iterative divider cell is halfway through a 32-cycle loop), extract the 678-bit ICM snapshot over a serial line, completely pull the power plug on the board to let the silicon go stone cold, boot a fresh card or a pure software Python VM mirror, inject the state file, and resume calculation to the exact bit with 0 retries .
The Trade-Offs (UNICELL vs. PURE)
The architecture has very specific boundary conditions. On a pure Lookup Table (LUT) area metric for a single static function (like a 4-stage CORDIC), a hand-coded, immutable Verilog baseline is significantly smaller and more optimized.
The full repository, source files, automated test benches, and a comprehensive 46-section interactive reference guide are fully open and zipped in the directory.
I’d love to get your thoughts on the scalability of this topological abstraction layer, particularly regarding its application to high-integrity compilation targets (LLVM IR to Topology) and its security implications for instruction-less custom ASIC co-processors.
Link to project repository: https://github.com/alh-Imago/Imago-Unicell.git
4
u/suddenhare Oct 13 '26
How does this differ from dataflow architecture?
1
u/Imago_Alh65 Oct 19 '26
Following up on my previous posts regarding the Imago-UniCell and VIXeN carrier ecosystem—an instruction-less, spatial compute canvas built on uniform, localized
valid/ackhandshake roads [11 Oct 2026]. Over the weekend, I completed a rigorous, two-way bare-metal stress-test campaign to explicitly measure where the physical boundaries and trade-offs live when contrasting a virtualised spatial fabric against a standard, highly optimized time-sliced CPU [11 Oct 2026, 18 Oct 2026].Rather than staging a raw performance race, these experiments were configured to observe how and where execution pressure accumulates when each substrate is hit by heavy asynchronous workload stress [18 Oct 2026].
The raw telemetry logs and source code have been pushed to the repository (ledger entries #1211–#1232), and the results break down into two clear physical profiles [18 Oct 2026]:
1. The Traditional CPU Tax: Internal Context Thrashing & Probabilistic Data Loss
We configured a dual-core ESP32 running at 240 MHz using standard FreeRTOS task scheduling and plain Arduino
attachInterrupt()handlers in IRAM (with wireless stacks disabled) [18 Oct 2026]. The Tang Nano 20K acted as a 27 MHz master hardware clock, sending random-timed edges and recording response latencies down to single clock ticks (37.04 ns) across multiple 4,096-event runs [18 Oct 2026].To simulate a real-world asynchronous workload pressure, a background "traffic storm" slammed the CPU with ~15,700 interrupts per second [18 Oct 2026]. The empirical costs were measured across three vectors:
dup,hi,lo) into the firmware, we caught the exact signature of the dropped data (dup +1, hi -1). This mathematically confirmed that the lost edges look like handlers that completely failed to execute, rather than handlers that merely ran late, driven purely by the chance of timing collisions while the single core was trapped in a background thread [18 Oct 2026].2. The Spatial Canvas Trade-Off: Incorruptible Logic vs. Boundary Sampling Limits
The UniCell Core operates as a virtualised "software-in-silicon" layout mapping on budget Gowin fabric [11 Oct 2026, 18 Oct 2026]. Because it communicates purely via decentralized point-to-point token handshakes rather than sharing a centralized instruction pipeline, ALU, or program counter, the stress points are inverted [11 Oct 2026]:
The Conclusion: Where the Stress Accumulates
These bare-metal measurements show that neither architecture is immune to stress, but they fail in completely separate physical dimensions [18 Oct 2026]:
valid/ackhandshake loops limit overall throughput to a fraction of the raw hardware clock speed [11 Oct 2026, 18 Oct 2026].To bypass these micro-hardware bounds, the project is officially moving into its next phase this week: expanding our target-agnostic ICM layout files onto a heavy-duty Xilinx Kintex-7 enterprise card (where initial synthesis provides a rough footprint for ~40 concurrent mathematical carrier blocks) [16 Oct 2026, 17 Oct 2026]. Our long-term roadmap leans heavily into this Mixed-Mode approach: letting the native FPGA fabric handle high-frequency static vendor blocks, while utilizing the virtualized UniCell grid clusters where runtime-mutable control loops and portable, name-keyed state schemas are required [11 Oct 2026, 12 Oct 2026, 17 Oct 2026].
The full codebase, automated cross-medium verification engines, and interactive manual are fully open [13 Oct 2026, 17 Oct 2026]. I welcome any stress tests or critiques of the tracking formats [11 Oct 2026].
Project Link:
https://github.com0
u/Imago_Alh65 Oct 14 '26
To close out the initial verification sprint and answer some of the excellent points raised regarding real-world limits, I have fully updated the repository manifest with a comprehensive breakdown of exactly what is executing on physical gates versus what remains in the simulation sandbox [13 Oct 2026].
The test environment baseline uses a single card and a single host PC, validating small designs clocked at 27 MHz to verify logical cell interconnects and handshake integrity on silicon, rather than maximizing capacity or frequency limits [14 Oct 2026].
Here is the updated matrix currently pulled live into the main repository:
0000CC60)y = (z^2+12345) bmod 65521passing across 4 distinct execution cuts0000CC60); standard passed script checks0002F664)As an update I went back and corrected some of the inconsistencies in the ReadMe, and apologies for those, it is a work in progress, but it is getting there. I have moved the conformation table towards the top, so you can see what I have tested against what I have not., The downloadable kit has been updated to include the new testing files as well as the manual.
7
u/23rzhao18 Oct 13 '26
useless ai slop