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

PHANTOMCORE: ALL CHECKS PASS

C service

$49,999
$49,999
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.
Contents 34 files in 12 folders ยท listed 14 November 2026

This lists the whole project folder, 101-c-service, which 2 products on this site draw on. What this product delivers is stated on this page under What you get.

  • c/
    • Makefile 1 KB
    • phc.h 4 KB
    • phc_selftest.c 3 KB
    • phc_sim.c 8 KB
    • phc_sim.h 2 KB
  • doc/
    • stage15-101-c-service_1.png 109 KB
    • stage15-101-c-service_1.svg 14 KB
  • FOUNDRY_DELIVERY_PACKAGE_PHC10/
    • SPECIFICATIONS/
      • PHC10_master_1_5nm.txt 4 KB
  • gdsii/
    • PhantasmPhi_PHC10_master_1p5nm.gds 1 KB
  • GDSII_GENERATOR_STANDALONE_CD/
    • GDSII_GENERATOR/
      • CHECK_SETUP.py 6 KB
      • FAILSAFE_GDSII_GENERATOR.py 20 KB
      • QUICK_REFERENCE.txt 2 KB
      • RUN_GDSII_GENERATION.bat 4 KB
      • STANDALONE_GUIDE.md 6 KB
      • VERIFY_GDSII.py 3 KB
    • AUTORUN.inf 1 KB
    • README.txt 1 KB
    • STANDALONE_CD_SUMMARY.md 7 KB
  • proof/
    • compile.log 1 KB
    • gcc.txt 1 KB
    • generation.log 2 KB
    • host_run.log 1 KB
    • pass-match.txt 1 KB
    • phantom_soc_tb-iverilog12.log 1 KB
    • verification.log 1 KB
  • reference_rtl/
    • apm01_s_netlist.v 33 KB
    • reference_tb.v 1 KB
  • rtl/
    • sw/
      • phantom_program.hex 3 KB
  • scripts/
    • run.sh 2 KB
  • 101-c-service-v1.zip 148 KB
  • Make-GDSII.ps1 10 KB
  • MANIFEST.json 2 KB
  • README.md 7 KB
  • RTL_REFERENCE.md 1 KB

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.