PROJECT · TOOLING

ChipNotary

ChipNotary is a contract checker for SoC integration. Whether a change comes from an engineer or an AI, it checks the agreements between the parts of a chip, item by item, against one public contract file, and leaves evidence that anyone can check again.

The name comes from “notary”: an independent, neutral party who checks whether documents hold and issues proof that anyone can examine.

Planned
Code on GitHub

01 · Background

Chips fail between the parts

A building inside a chip

A system on chip (SoC) puts a computer’s main parts into one chip. Think of an office building: the processor, memory and peripherals are departments; the address map is the room numbering; interrupts are bells; clocks and resets are the shared schedule; registers are control panels, and drivers and documents are their manuals.

Integration rests on agreements

Addresses must not collide, every interrupt has one owner, all parts must agree on what reset means, panels and manuals must match, and nothing may reach the key store through an unrecorded path. Typical accidents: hardware changes an address while the driver keeps the old one, or a debug port is not closed as required. Each file looks fine alone; together they are wrong.

No one checks the whole

Most tools inspect one room or one drawing at a time. The agreements are spread over chip code, register descriptions, C headers, linker scripts, documents and spreadsheets edited by different people at different times. Such errors often surface only on FPGA or after tape-out.

AI writes faster than anyone can accept

AI writing chip code is already commercial practice, and general coding agents can modify small chip projects. Vendor agents check their own work with their own tools, which small teams cannot afford and third parties cannot reproduce. Software has compilers and automatic tests; hardware integration lacks an open equivalent.

02 · Goals

An independent checker for the integration layer

It does not compete over who writes better. It answers whether things are still right after the change.

DOES

What it does

Drafts a contract from the project’s code, documents and diagrams for a person to confirm; checks every change against it (addresses, interrupts, clocks and resets, registers, bus connections, access rights); produces reports and reproducible evidence; lets AI coding tools call it; and lets anyone rerun a verification.

DOES NOT

What it does not do

It does not write chip code for users. It does not replace simulation, formal verification or manufacturing sign-off, though it records their results as evidence. It does no physical design and no inspection of silicon.

The first supported projects follow the open RISC-V ecosystem, in the style of X-HEEP, LiteX and Ibex simple_system. First users are maintainers and developers of open SoC projects, teaching and student tape-out projects, and open security hardware teams, as well as people who do not read chip code but want to check a public claim.

03 · Approach

A contract, deterministic checks, evidence

DRAFTING PATH · AI ALLOWED

AI drafts, people decide

Parsers read what can be determined; AI fills gaps only with a cited source, lists contradictions and asks questions. Nothing AI wrote counts until a person confirms it, and every field keeps its origin. AI can be switched off or replaced by a local model.

VERIFICATION PATH · NO AI

Nothing that decides pass or fail calls a model

Parsing, rules, status, evidence and reproduction use only deterministic programs, open-source tools and the confirmed contract. Reproduction needs no API key, no network and no trust in any model vendor. The core package has no model client dependency, and its tests run offline.

The contract file

The contract is readable by people and checkable by machines. It lists clocks and resets, components, interconnect, address map, interrupts, registers, software interfaces, access policy, debug ports, source files and approved exceptions. It can also say what must not exist, such as any other bus master, or an open debug port in the release build. It is versioned with the code and moves from draft to confirmed to frozen; only confirmed contracts can be used for checking, and frozen ones for public claims.

Rules: about 30 checks in seven categories

Rule categories
CategoryExamples
AddressOverlapping regions; decode in code, headers, linker scripts or documents differs from the contract.
InterruptsDuplicate numbers; wiring or driver numbers differ from the contract.
Reset and clockReset polarity differs; asynchronous reset release without a synchronizer.
RegistersOffsets collide; reset values or access types differ across code, register description and headers.
BusMasters and slaves differ from the contract; width mismatch.
SecurityModules outside the contract; a forbidden master still has a path to a region; debug port not closed in release.
Documents and evidenceTables in documents differ; evidence or exceptions expired.

Results and evidence packages

A rule ends as passed, violated, undetermined, unsupported, not run or expired. Only something actually checked and satisfied counts as passed. The evidence package holds the contract and input hashes, tool and rule versions, raw outputs, structured results and a script that reruns everything in a clean environment. When any input changes, the old conclusions expire.

Verifier mode and four entry points

VERIFIER

Check without knowing chips

Paste a release or evidence link. ChipNotary fetches the sources by hash, reruns the checks offline and compares with the publisher. A floor-plan view shows seven checks in green, yellow or red, each with a note on what it proves and what it does not. Yellow never counts as green.

ACCESS

One open core

A web workbench, a command line, an MCP service for AI coding assistants and a repository check on every merge request all use the same open Python library, chipnotary-core. It works completely on your own machine.

04 · Strengths

Neutral, reproducible, open

01

A referee AI cannot change

The more AI writes, the more an independent standard is needed. Prompt injection, hallucination or a new model version cannot change a verdict.

02

Anyone can reproduce

Evidence depends only on open-source tools with pinned versions.

03

The rules are open

Contract format, rules and checker are open source, so they can become a shared standard and improve with many contributors. Licences are proposed and still to be confirmed.

04

First link of a verifiable chain

It checks that design intent, chip code and software interfaces agree, and gives later checks of netlist, layout and silicon a public reference.

Alongside other tools

Relationship to other tools
ToolsRelationshipDifference
General models and coding agentsComplementaryChipNotary is their checking tool, not a substitute.
AI chip design toolsIndependent acceptanceIt does not generate code, so it does not grade its own work.
Agents from EDA vendorsDifferent focusOpen ecosystem and small teams; conclusions reproducible without paid tools.
Commercial register and lint toolsPartial overlapThey centre on generation or single-file checks; ChipNotary checks existing files against each other.
Open tools such as Verilator, PeakRDL and FuseSoCBuilt on themIt calls them to read single files and does the cross-file checking.

What a green result does not mean

An evidence package shows that these tools and rules reached these conclusions on these inputs. It does not show that the rules are complete, that the chip functions correctly, that manufacturing followed the design, or that there is no side-channel leakage. Reports say “matches the claim”, “mismatch found” or “cannot determine”, never “correct”, “secure” or “certified”.

05 · Development plan

Two parts

Durations and targets are planning assumptions, not promises.

Part one: a public trial tool in about 14 weeks

Milestones of part one
MilestoneWeeksContent
M00Repository, continuous integration, pinned tools, example projects readable.
M11–2Contract format v0.1 and checking core.
M23–4Project readers and cross-file rules.
M35–6Evidence packages, tool runner, reports.
M47–9Contract drafting assistant.
M59–12Web trial and verifier mode.
M612–13AI assistant and repository interfaces.
M713–14Launch and self-test.

Part one ends when a public site can take an open project from upload through drafting, confirmation and checking to a downloadable evidence package; the package reproduces on a clean machine; and verification passes offline with no API key. The trial is limited to public projects, and its rules are labelled experimental until reviewed by chip experts.

Part two: work that needs human judgement, from month four

Chip experts review the rules one by one and build a hidden acceptance set; open SoC maintainers review the contract format towards v1.0; bus protocol and security rule packs are added; users without chip knowledge test whether the verifier results are understood correctly; the service moves to production with stronger isolation and a third-party security assessment; and open projects are connected to automatic checking, with at least three targeted by month six.

Quality targets

Quality targets
MeasurePart onePart two
Detection rate on the public benchmark≥ 90%≥ 95%
Detection rate on the hidden set—≥ 85%, missed categories published
False positives on unmodified projects≤ 5%≤ 2%
Accuracy of AI-drafted fields≥ 90%≥ 95%
Evidence reproducing identically in a clean environment100%100%