Open Prompt Repository · PTSG-Core

PTSG Programmable Timing Sequence Generator

A timing sequencer you reprogram like a music box — specified for humans and AI alike, proven on silicon. オルゴールのように書き換えるタイミングシーケンサ——人間とAIの双方に向けて仕様化され、実機で証明済み。

4 opcodes 16 timing signals ~442 ALMs ≈ 1% of a Cyclone V silicon-verified first-try
GitHub Repository Hackaday Project
divide-by-2 · 2 instruction words · schematic
01 · ARCHITECTURE IN THREE SENTENCES

Three pillars 三つの柱

Time lives on the stay axis. 時間はステイ軸に。

Space lives on the state axis. 空間はステート軸に。

Conditions stay outside the core. 条件はコアの外に。

4 opcodes — Global, Stay, Branch, Jump — small enough for a human to hold in one hand, and for an AI to hold exactly. 4オペコード——Global・Stay・Branch・Jump——人間が片手で、AIが正確に保持できる大きさ。

02 · WHAT'S IN THE REPOSITORY

The Open Prompt — four layers Open Prompt——四つの層

L1

Architecture — the specification, decision register included アーキテクチャ——仕様書、決定登録簿を含む

CC0
L2

Reasoning traces — alternatives and retractions included 推論軌跡——代替案と撤回を含む

CC0
L3

Reference implementation — illustrative, not normative リファレンス実装——例示的であり、規範的ではない

MIT
L4

Hardware verification evidence — negative results are first-class ハードウェア検証証拠——ネガティブな結果も一級市民

CC0
SPEC v1.1·RTL RH028·CONFORMANCE T1–T34·SILICON first-try (DE10-nano, 50 MHz, 2026-07)·~442 ALMs full trim (ISMCE included; core proper ~398)
03 · THE LAW OF THE CORE

The normative table 規範の表

excerpt — command × phase (decorative)
FGBGQ
StayConsumes one tickConsumes one tickHeld
Global · Stay SetLeading※IgnoredIgnored

33 cells of law: the normative command × phase table (Chapter 3 §3.4b) adjudicates every command in every band — down to a single clock at prescaler 1. 33セルの法: 規範のコマンド×フェーズ表(第3章§3.4b)が、全帯域の全コマンドを——プリスケーラ1の1クロックに至るまで——裁く。

Read the full table in Chapter 3 →

04 · THE FRONT DOOR FOR MACHINES

For AI agents — start here AIエージェントへ——ここから読め

READING ORDER / 読む順序

Chapter 1 (design philosophy, §1.4a trailing-edge principle) → Chapter 3 §3.4b (the normative table) → CHANGES (implementation work order) → the RTL → the conformance matrix. 第1章(設計哲学、§1.4a後縁原理)→ 第3章§3.4b(規範の表)→ CHANGES(実装作業指示書)→ RTL → 適合性マトリクス。

# Key entry points — raw URLs, in reading order (see repository top README)
https://raw.githubusercontent.com/dsohnaka/PTSG-Core/main/01_Architecture/PTSG_Core_Layer1_Chapter1_Scope_and_Design_Philosophy.md
https://raw.githubusercontent.com/dsohnaka/PTSG-Core/main/01_Architecture/PTSG_Core_Layer1_Chapter3_SubOpcode_and_Background_Execution.md
https://raw.githubusercontent.com/dsohnaka/PTSG-Core/main/01_Architecture/CHANGES_Layer1_v1.1_for_ClaudeCode.md
https://raw.githubusercontent.com/dsohnaka/PTSG-Core/main/03_Sample_Implementations/ptsg_core_verilog/ptsg_core.v
https://raw.githubusercontent.com/dsohnaka/PTSG-Core/main/04_Verification_Evidence/conformance_matrix.md
05 · WATCH IT HAPPEN

Live series ライブシリーズ

Improvisation design, on camera: predictions frozen before each experiment, failures shown as they happen. From a manual LED blink to a 25 MHz divide-by-2 in two instruction words. インプロビゼーション・デザインをカメラの前で: 予言は実験前に凍結、失敗は起きたまま見せる。手動Lチカから、2命令語の25MHz二分周器まで。

Episode 1 · coming soon
Episode 2 · coming soon
Episode 3 · coming soon