Hardware Causal-Audit Trusted Compute Unit

SPL-G1 Second-Perspective Logic Engine · Trusted Compute Unit

SPL-G1 is a dedicated hardware causal-audit Trusted Compute Unit built for security scenarios — it is not a general-purpose CPU/GPU/NPU, but a primitive that delivers provable causal audit at the hardware level. Every operation produces an auditable, traceable P→Q causal pair; on a violation, the fuse locks permanently.

trusted-compute-unit causal-audit PIM array FP16 · IEEE 754 splcc v0.1 Phase A complete
✦ About

What is SPL-G1

Built on a 2D PIM (processing-in-memory) array and the RA-BUS unified addressing bus, SPL-G1 fuses three-mode compute (SCALAR / VECTOR / MATRIX) with hardware-level causal-constraint checking, 256-bit identity anchoring, and an irreversible SBC fuse into a single unit.

SPL-G1 is a hardware causal-audit Trusted Compute Unit (TCU). A 4×4 PIM in-memory-compute grid forms its compute base; together with a sequencer, a causal-verification unit, an identity-anchor unit, and a fuse unit, it provides an embedded security root for compliance computing, safety-critical auditing, and remote attestation.

✦ Positioning

What it is — and what it is not

✅ It is❌ It is not
A hardware causal-audit Trusted Compute Unit (TCU)A desktop CPU (running Linux / x86 apps)
A verifiable compute primitive with full-lifecycle P→Q provenanceA GPU with thousands of cores and a CUDA ecosystem
A three-mode PIM array (SCALAR / VECTOR / MATRIX) with per-operation auditA datacenter-class NPU accelerator for LLM inference
An embedded security root for compliance, safety-critical audit, and remote attestationA replacement for any mainstream microprocessor
✦ Core Capabilities

Six core milestones

A1 · CONTROL FLOW

Sequencer v4

A parameterized 256-entry program memory with JMP / JZ / JNZ / CALL / RET / HALT control-flow instructions and an 8-level return stack, with bounds protection.

256-entry8-level stack
A2 · TRUE FP16

True FP16

Sign / 5-bit exponent / 10-bit mantissa, with subnormal, NaN, ±Inf and roundTiesToEven; real FP16 ADD / SUB / MUL / CMP / MAC semantics.

roundTiesToEvensubnormalNaN/±Inf
A3 · COMPILER

splcc compiler v0.1

Compiles a restricted C dialect (int variables, for / while / if-else, arithmetic, comparison) into SPL-G1 microcode CONFIG words, with a built-in --verify interpreter mode.

--verifymicrocode
A4 · DATA CHANNEL

RA-BUS arbiter v1

A 4-target address-decode bus (PIM / Audit / Identity / External) supporting READ / WRITE / EXECUTE / CONFIG transaction types.

PIM / Audit / Identity / External
A5 · CAUSAL CONSTRAINT

Constraint unit v2

spl_cim_causal_unit v2 hard-constraint checking: a constraint_bits == 64'hFF…FF identity test plus a 56-bit dep_mask dependency check with cascade failure; bridge mode passes all.

64-bit constraint56-bit dep_mask
A6 · SBC FUSE

SBC fuse

Audit failure → fuse_blown latched → outputs forced to zero; only a hardware reset can recover (Materica #4).

irreversibleonly HW reset
✦ Status

Phase A complete

The TCU core loop is delivered end-to-end and verified by RTL simulation — the integrated testbench tb_G1_Integrated.sv (v3) passes the full Phase-A suite with 0 errors (Icarus Verilog).

Phase-A full test suite passed · 0 errors
A1 control flowA2 true FP16A3 splcc compilerA4 data channelA6 SBC fuse
✦ Quick Start

Run it in one command

# Clone (this repository is the Gitee mirror)
git clone https://gitee.com/nohn-ecosystem/SPL-G1-general-purpose-processor.git
cd SPL-G1

# Core EDA toolchain — pure Python ≥3.8, standard library only
make demo-causal

# EDA → RTL pipeline: causal design → PDK mapping → Verilog config
python eda_cli.py --desc examples/causal_chain_demo.json \
  --pdk pdk/silicon_cim_v1.json --strategy min_delay \
  --output outputs/netlist.json --rtl --rtl-dir outputs/rtlgen/

# RTL simulation (requires Icarus Verilog 12.0+)
make sim    # build and run the full Phase-A suite, 0 errors
make wave   # open waveforms in GTKWave

# Compile a C-subset program and verify its semantics
python splcc.py tests/loop_sub.c --verify

The EDA toolchain covers parse → map → build → export → RTL generation (eda_parser / eda_mapper / eda_exporter / eda_rtlgen / EDA_fixed). PDK includes silicon_cim_v1.json (28nm CIM) and optical_mzi_photonics_v1.json (photonic). Language split: SystemVerilog 53.1% · Python 43.4%.

✦ License & Authorization

Dual-track licensing · not open source

Free for personal, non-commercial research; government / enterprise commercial use requires a paid commercial license. PCT patent filed.

AudienceTerms
Personal researchersFree for non-commercial research, not for any commercial use
Government / enterprisePrior written authorization required
How to applyGlobal: ai@nohnlins.com · China: lin@secondai.top