PoC

The Reference Implementation of the SSCCS Observation Model

Author
Affiliation

SSCCS Initiative

Abstract

The proof of concept is the reference implementation of SSCCS: the smallest complete materialization of the observation model, built on a Rust reference, branchless RISC-V assembly, and SystemVerilog, and pinned by a shared set of golden anchors. It shows that the model’s primitives hold across languages and silicon, and it exposes the model as a RISC-V custom instruction.

Code
Verification
Specification
Other Formats

The model in running code

SSCCS defines computation as the observation of a fixed structure under changing conditions. The proof of concept takes that definition literally and builds the smallest complete instance of it: a coordinate space, a set of constraints, a projector, and an observation function, implemented on three substrates and checked against one shared set of anchors, with an independent verifier as a fourth channel.

It is the pure plane. The projects materialize the same primitives on the practical plane; the proof of concept carries no project-specific knowledge. What it establishes is that the primitives are substrate-independent, that a convention can be pinned across languages and silicon, and that the model can be exposed as an instruction rather than a library.

The proof of concept covers the observation pipeline and the instruction-word interface. It is not a processor core, and it does not claim a full ISA implementation. The hardware contribution is the constraint and projector units, the XIF coprocessor that exposes them, and the carrier images that answer the anchors.

What it demonstrates:

  • The same primitives on three substrates, Rust, RISC-V assembly, and SystemVerilog, with a fourth channel that checks them independently.
  • One anchor set that pins a convention across languages and silicon.
  • The observation model exposed as a RISC-V custom instruction.
  • An independent verification channel, ev.
  • A carrier that answers the anchors on the die.

The three substrates and the independent verifier, pinned by the golden anchors

The channels, one agreement

Four channels answer the same anchors. A Rust reference carries the ontology and the composition algebra. A branchless RISC-V assembly implementation runs the observation pipeline under Spike. A SystemVerilog implementation runs the units and the coprocessor under Verilator, and the same SystemVerilog builds for an iCESugar-Pro ECP5 board. The fourth is ev, an independent classifier with its own constraint engine, whose fixtures are derived from the same anchor file rather than restated from it.

Channel Scope Verification
Rust standard/ workspace: ontology, composition algebra, emitters cargo test --workspace, golden anchors
RISC-V assembly baremetal_riscv/asm/: branchless gates and observation Spike with the proxy kernel
SystemVerilog baremetal_riscv/sv/: units, coprocessor, testbenches Verilator, Yosys
ExaVerif an independent classifier with its own constraint engine fixtures derived from the anchor file
Carrier baremetal_riscv/boards/icesugar_pro/: ECP5 images anchors answered on the die

An anchor is how a convention survives across languages. The GOLDEN_* block in the assembly is the single source, the SystemVerilog constants must match it, and the check fails when the two disagree. A convention restated in each substrate drifts at one of them; the anchor turns that drift into a failing check.

The carrier adds another kind of evidence. The board holds a constraint table of kinds and bounds, the modules the host emitted, and a design with no table of points. The table design is built twice, once with two expectations exchanged as a negative control. The die answers the table and the exchanged version differently, which is the case a checksum alone cannot see.

The model as an instruction

The XIF coprocessor exposes the model as a RISC-V custom instruction. The core issues an operation, the coprocessor decodes the opcode and the sub-operation, evaluates a constraint or a projector, and returns a 64-bit result. The port follows the OpenHW CORE-V XIF issue and result handshake.

Encoding Group Operations
custom1, funct3=001 Constraint even, range_010, range, eq, gt
custom1, funct3=010 Composition and, or
custom2, funct3=000 Projector identity, sum2d, sum3d, parity, negate

The encoding is defined in baremetal_riscv/sv/_xif_constants.svh, and the coprocessor decodes it in baremetal_riscv/sv/ssccs_xif_coprocessor.sv.

The units are combinational. The state machine holds in XIF_ACCEPT while the consumer is not ready and returns through XIF_RESPOND. The timing below reads from that module, and the formal property states that result_valid follows the issue handshake by one cycle.

XIF coprocessor issue and result handshake, read from the state machine

The sub-operation is a field of the instruction, so the operands carry data and nothing else. A selector packed into an operand would quantize every bound by the selector’s width; the encoding keeps the bound a full 64-bit value.

The XIF protocol state machine: IDLE, ACCEPT, RESPOND

The coprocessor in silicon

The coprocessor is a physical block as well as a simulation model. The same SystemVerilog is synthesized to SkyWater 130 nm high-density cells and placed and routed by the OpenROAD flow against the carrier’s 25 MHz clock, and the figures below are drawn from that flow’s final GDS with the metal layers kept. Every unit the testbenches drive is instantiated inside the block that closes timing, so the layout and the simulation describe one design. The placed cells cover 18,578 um^2 at 40 percent utilisation.

Figure 1: The coprocessor from above.
Figure 2: The centre of the die, close.

The first view is the whole frame, met1 through met5, with the power grid the darkest element. The second is an eighty-micron window of the same layout, where the standard cell rows and the routing between them resolve.

The units as schematics

Each unit is small enough to read as a schematic. The images below are rendered from the SystemVerilog units rather than drawn by hand, so the structure they show is the structure the simulator elaborates.

ck_range: two signed comparators and an AND gate

proj_sum2d: a 64-bit adder

compose_product_2d: an AND of two constraint results

ck_range is a signed range check, which matters because a coordinate is an i64 and an unsigned compare would place every negative coordinate above every positive one. proj_sum2d is the projector that reduces a two-axis coordinate to its sum. compose_product_2d is the join of two constraint results, the composition that turns two one-dimensional constraints into a two-dimensional space.

Evidence

The proof of concept rests on a set of checks that run in public.

  • The golden anchors pin the assembly constants, the SystemVerilog constants, and the Rust reference, so the conventions the substrates share are checked rather than assumed.
  • ev (ExaVerif) is an independent channel. It reproduces the anchors from its own classification engine and fixtures, so the agreement is between implementations rather than within one.
  • The board answers the table design and the exchanged-expectations design, which keeps the negative control on the die.
  • CI runs the workspace checks, the assembly syntax gate, the Verilator testbenches, and the container with Spike and the RISC-V toolchain. The schematics, the timing diagram, and the state diagram on this page are rendered from the units by poc/visuals/gen.sh, and the layout figures by poc/visuals/layout/run.sh, so each image and the unit it describes are derived from one source.

Where it leads

The PoC README carries the build, target status, and validation commands. The whitepaper carries the formal model.

  • PoC README: build, target status, and validation.
  • Whitepaper: the formal model and the technical specification.
  • Projects: the practical plane built on the same substrate.
  • ExaVerif: exhaustive classification of a declared design space.
  • Direction: the ecosystem orientation and the shared substrate.

© 2026 SSCCS Initiative — Open-source computing systems initiative building a computing model, software compiler infrastructure, and open hardware architecture.

  • Whitepaper: PDF / HTML DOI: 10.5281/zenodo.18759106 via CERN/Zenodo, indexed by OpenAIRE. Licensed under CC BY-NC 4.0.
  • Official repository: GitHub. Authenticated via GPG: BCCB196BADF50C99. Software under Apache 2.0; hardware sources (HDL, constraints, synthesis and PDK flow) in the proof of concept under CERN-OHL-P v2.
  • Governed by the Foundational Charter and Statute of the SSCCS Initiative (in formation).
  • Provenance: Human-in-Command, AI-assisted. Aligns with ISO/IEC JTC 1/SC 42. A document that is C2PA-signed states it on the page, and the manifest travels inside the file. Full intellectual responsibility with author(s).