File size: 5,289 Bytes
612e2b2
8428061
 
 
612e2b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cb014fe
 
 
8428061
cb014fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8428061
cb014fe
 
 
8428061
cb014fe
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
---
license: other
license_name: sovereign-leviathan-sl-agpl3-001
license_link: https://huggingface.co/Snapkitty/Intent-V/blob/main/LICENSE
tags:
- snapkitty
- october-2026-drop
- zig
- scala
- chisel
- riscv
- rv32im
- firmware
- spice
- hardware
---

> Mirrored from [https://github.com/SNAPKITTYWEST/Intent-V](https://github.com/SNAPKITTYWEST/Intent-V) at commit `093768a`. Part of the **SnapKitty October 2026 main drop**.

# INTENT-V

[![CI](https://github.com/BEL-ESPRIT-D-ACCORD-TRUST-HOLDINGS/demo-repository/actions/workflows/ci.yml/badge.svg)](https://github.com/BEL-ESPRIT-D-ACCORD-TRUST-HOLDINGS/demo-repository/actions/workflows/ci.yml)
[![License: SL-AGPL3-001](https://img.shields.io/badge/License-SL--AGPL3--001-blue.svg)](LICENSE)
![Chisel 3.6](https://img.shields.io/badge/RTL-Chisel_3.6-orange)
![Zig 0.13](https://img.shields.io/badge/firmware-Zig_0.13-f7a41d)
![ngspice](https://img.shields.io/badge/analog-ngspice-lightgrey)
![Target RV32IM](https://img.shields.io/badge/target-RV32IM-informational)

A small RV32IM-adjacent hardware/firmware sandbox: a memory-mapped accelerator,
its bare-metal driver, and an analog sanity netlist.

**What the "Conscious Coherence Unit" actually is:** a gated 32-bit multiplier
(`rawIntent * information`, low 32 bits, output enabled by `passionBound`) plus
an 8-bit saturating counter of cycles since it was last enabled. The thematic
signal names are aliases for that; nothing here exhibits anything beyond
multiplication and a mux. Please don't describe it to anyone as more.

| Dir         | Contents                                              | Toolchain        |
|-------------|-------------------------------------------------------|------------------|
| `rtl/`      | `IntentNexus` core, `CcuMmio` register wrapper, tests | sbt, Chisel 3.6  |
| `firmware/` | Zig 0.13 bare-metal driver, linker script             | zig              |
| `spice/`    | NAND-gate transient netlist + placeholder models      | ngspice          |

## Register map (base `0x4000_1000`)

| Offset | Name               | Access |
|--------|--------------------|--------|
| 0x00   | raw_intent         | RW     |
| 0x04   | information        | RW     |
| 0x08   | passion_bound[0]   | RW     |
| 0x0C   | emergent_structure | RO     |
| 0x10   | system_entropy[7:0]| RO     |

See [VERIFY.md](VERIFY.md) for the verification checklist.

## Architecture

```mermaid
flowchart LR
    FW["Zig firmware<br/>(firmware/src/ccu.zig)"] -- "volatile MMIO<br/>base 0x4000_1000" --> MMIO
    subgraph RTL["rtl/ (Chisel)"]
        MMIO["CcuMmio<br/>register wrapper"] -- "rawIntent, information,<br/>passionBound" --> NEXUS["IntentNexus<br/>gated 32-bit multiplier<br/>+ 8-bit idle counter"]
        NEXUS -- "emergentStructure,<br/>systemEntropy" --> MMIO
    end
    SPICE["spice/<br/>NAND transient netlist<br/>(placeholder models)"]:::side
    classDef side stroke-dasharray: 4 3;
```

## Inside `IntentNexus`

```mermaid
flowchart TD
    A[rawIntent] --> M["multiply<br/>keep low 32 bits"]
    B[information] --> M
    M --> X{passionBound?}
    X -- 1 --> P[emergentStructure = product]
    X -- 0 --> Z[emergentStructure = 0]
    X -- 1 --> C0[counter := 0]
    X -- 0 --> INC{counter == 255?}
    INC -- no --> C1[counter := counter + 1]
    INC -- yes --> C2[counter holds at 255]
    C0 --> E[systemEntropy]
    C1 --> E
    C2 --> E
```

## Driver flow (`Ccu.compute`)

```mermaid
flowchart TD
    S([compute a, b]) --> R[read system_entropy & 0xFF]
    R --> Q{"> ENTROPY_LIMIT (200)?"}
    Q -- yes --> ERR([error.EntropyExceeded])
    Q -- no --> W["write raw_intent, information,<br/>then passion_bound = 1"]
    W --> F[fence]
    F --> RD[read emergent_structure]
    RD --> U[write passion_bound = 0]
    U --> OK([return product])
```

## CI pipeline

```mermaid
flowchart LR
    T["push / PR /<br/>workflow_dispatch"] --> J1["rtl<br/>sbt test"]
    T --> J2["firmware<br/>zig build test, zig build"]
    T --> J3["spice<br/>ngspice -b nexus_nand.sp"]
```

## Commands

```sh
cd rtl      && sbt test            # unit tests; `sbt run` emits Verilog to rtl/generated
cd firmware && zig build test      # host-side driver tests
cd firmware && zig build           # RV32IM ELF
cd spice    && ngspice -b nexus_nand.sp
```

## Status

First local run is recorded in [verification/FIRST-RUN.md](verification/FIRST-RUN.md).
RTL tests passed, `sbt run` emitted Verilog, Zig host tests passed, and the
SPICE deck printed `t_emergence`. Debug firmware does not fit the 64K ROM;
`zig build` defaults to ReleaseSmall for that reason. The SPICE models are
still placeholders. No process or clock claim.

## License

Licensed under the Sovereign Leviathan covenant (`LicenseRef-Sovereign-Leviathan-SL-AGPL3-001`), an AGPL-3.0-based license. See [`LICENSE`](LICENSE).

### 💼 Commercial License

SnapKitty code is free and open under the **Sovereign Leviathan covenant (AGPL-3.0 based)** for open-source use. Building a commercial product or service? A **proprietary commercial license** from Snapkitty Collective LLC lets you ship this code without the covenant's source-sharing and network-use obligations.

**[→ Get a commercial license](mailto:A.parr@belespritdaccord.uk?subject=Commercial%20license:%20Intent-V)** · A.parr@belespritdaccord.uk