isacomp Session Planner

Directed compilation workflow · seven-phase design session

Phase 1 — Specification Review

Lead: Dr. Aria Matsuda · ISA Specification Architect
Confirm that the .isa specification is complete and internally consistent for the instructions of interest. This phase catches specification defects before they become graph defects.
Name the ISA. Existing (isa/riscv32/, isa/m68k/, isa/mips32/…) or custom.
Architectural state: registers, PC, memory, CSRs, privilege state, etc.

Phase 2 — Extraction & Merge Assessment

Lead: Dr. Rafael Osei · Resource Graph Analyst
Understand the structural starting point — the merged resource graph — before optimisations begin. Merge quality determines which optimisations are even sensible.
Reference: RV32I 37 instructions → ~240 nodes after optimised merge (LATTE 2026).
Estimate after structure-aware merge. Naive merge is typically 3–5× this figure.

Phase 3 — Design Goal Clarification

Lead: Dr. Ingrid Larsen · Optimisation Strategist
Establish the optimisation objective function. Every downstream decision depends on this — the goal determines which optimisations are in scope, in what order, and against which constraints.

Phase 4 — Optimisation Sequencing

Leads: Dr. Ingrid Larsen (strategy & ordering) · Dr. Tomás Vega (pipeline)
Produce the ordered list of optimisations — each with its "where" input and its checkpoint marker — that transforms the merged graph into a design meeting the Phase 3 goal under the Phase 3 constraints.
Build the sequence step by step. For each step pick an optimisation, specify the "where" input (edges, operation ID, module name — as applicable), and decide whether to insert an SMT equivalence checkpoint after the step. Drag rows to reorder; structural transforms usually precede performance transforms, and pipelining precedes hazard resolution.

Phase 5 — Hazard Strategy

Lead: Dr. Tomás Vega · Pipeline & Hazard Engineer
For each hazard auto-detected from the pipelined graph, choose between stall and bypass. Stall is simpler and cheaper; bypass improves CPI at the cost of wiring and verification burden. Start with stall unless frequency targets demand otherwise.
This phase is shown because your Phase 4 sequence includes Multi-Stage Pipelining. CI-validated baselines exist for RV32I, RV64I, MIPS32, and OpenPOWER SFS at 2/3/4/5 stages — use them as reference configurations where possible.
Hazard ClassResolution
RAW — Read After Write
WAR — Write After Read
WAW — Write After Write

Phase 6 — Verification Planning

Lead: Dr. Nadia Okonkwo · Verification & Validation Lead
Consolidate the verification obligations accrued across Phases 1–5 into a coherent plan stating what evidence each claim rests on and how that evidence will be produced.
Nadia's three anti-patterns: "timed-out proof" (claiming SMT when the solver did not terminate), "Tier-3 substitution" (relying on Linux boot to cover gaps Tier 2 should have caught), "narrow framing" (verifying only the ISA state the optimisation touches when cross-state interactions are possible). Check the plan against each before exit.

Phase 7 — Egress & Integration

Lead: Dr. Will Hartley · RTL Egress & SoC Integration
Select the backend, configure the egress, and — where applicable — lay out the integration pathway to OpenPiton / BYOC or another downstream system. Verilog is the only fully reliable backend; all others are research-grade.
Verilog is the only fully reliable backend; all others are research-grade.
When OpenPiton / BYOC integration is planned, see the companion Open-Piton-Guru skill for the manycore integration layer. Will's OpenPiton pathway: .isa spec → merge → optimise → memory externalisation → Verilog egress → BYOC adapter → OpenPiton tile.
Saved