cri-one
PhantomCore self-test:
12 passed, 0 failed
in 112 cycles

PHANTOMCORE: ALL CHECKS PASS

C service

$500,000
$500,000
SKU c-service

Go to cart

Why you'd want it

The PhantasmPhi PHC10 chip's own self-test, built in portable C99. One folder, one make, one make run. It prints the same PHANTOMCORE: ALL CHECKS PASS line the Verilog testbench prints — from a C program on a workstation.

  • Who it's for: firmware and chip teams who want to run PhantasmPhi CPU code on a PC before hardware exists.
  • The problem it solves: testing chip software without silicon, against a reference simulator that mirrors phantom_soc.v + phantom_core_cpu.v at every architecturally visible value.
  • What you get: C99 source, Makefile, the self-test program hex, proof logs. No GDSII, no silicon.

The C firmware side on its own. For both GDSII and C in one bundle, see 101-c-service.

Payment is by bank transfer through Stripe. Questions: christopher@cri-one.com.

Description

What is in the download

What is NOT in the download (not hidden)

Build and run

cd c && make && make run

Host self-test (captured 2026-10-04)

Loaded 51 instructions from ../../84-phantasmphi-cpu/rtl/sw/phantom_program.hex.

[PASS] program halted (did not run out of cycles) · [PASS] exactly two DEBUG writes (ticks, PASS) · [PASS] DEBUG #1: timer ticks > 0 (ISR fired) · [PASS] DEBUG #2: PASS word (0x00000001) · [PASS] MUL 6*7 landed in L1[0x100]: 42 · [PASS] timer ran down to 0 · [PASS] phantasm done flag held by sim · [PASS] phantasm KELLY result = 32768 (0.5 Q16.16) · [PASS] r3 (MUL result) == 42 · [PASS] r4 (loaded back from scratchpad) == 42 · [PASS] r10 (timer ticks) > 0 · [PASS] r11 (phantasm done) == 1

PhantomCore self-test: 12 passed, 0 failed in 112 cycles · PHANTOMCORE: ALL CHECKS PASS

Build: cc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-14), -std=c99 -Wall -Wextra -Wpedantic -Wshadow -Wconversion -O2, zero warnings.

The same PASS line that phantom_soc_tb.v prints under Icarus Verilog — now printed by a C program.

License

Perpetual, non-exclusive. US organizations only. USD only. Delivered as the zip linked above. Form of agreement: CRI-ONE Blueprint License v1. No assignment of underlying patents or copyrights; those remain with the inventor.

Project c-service, cri-one.com · Christopher Gabriel Brown · 2026-11-20.