Files
retroSoC/docs/ip
maksyuki 5b81dea4fe docs(tiny): record R2-P9 validation and remaining gaps
Document the DVP integration contract, reviewed remediation and source-bound
ICS55/IHP130 evidence, preserving original phase IDs and historical runs.
Record matched firmware binaries, current functional results, observational
STA, warning deltas and unresolved global quality/qualification gaps.

Evidence was produced from 39ae718 plus the archived worktree; retain that
provenance rather than relabeling earlier runs with new commit identities.
P9 human acceptance remains pending. This documentation does not advance P10
or qualify a physical operating point.

Validation: read-only artifact/source hash review and git diff --check.
2026-10-17 15:33:25 +08:00
..
2026-09-25 08:35:07 +08:00
2026-09-26 16:28:39 +08:00

IP Documentation

This directory owns architecture, register ABI, software contract, and verification documentation for self-owned retroSoC peripheral IP and platform extension interfaces.

  • Tiny Gen1 QFN64 R2 freezes dual CPU I/D paths, four independent 32 KiB main-SRAM groups at the CPU's SYS frequency, per-target AXI32 concurrency and eight-channel DMA scheduling while preserving the package/pad budget and shared-IP ABIs. XPI retains MEM; Crypto retains PCLK. DVP V2 and optional NSS1 PSRAM remain the camera target. The active sequence is TINY-R2-P0 through TINY-R2-P11; legacy TINY-P0 through TINY-P12 remain in the linked contract history. The current 24 MHz/four-channel implementation and its evidence remain explicitly separate.

  • timer.md defines the dual APB4 general timer.

  • sysctrl.md defines the APB4 SystemCtrl register ABI, control-plane contracts, HAL, and verification.

  • resource-controller.md defines root-managed resource ownership, IRQ routing, and cache-maintenance handoff.

  • fabric-monitor.md defines data-plane counters, sticky fault retention, snapshot semantics, and the public HAL.

  • user-ip.md defines the selectable user-IP window and software ownership boundary.

  • ws2812.md defines the WS2812 transmitter.

  • clint.md defines the management-hart software and timer interrupt block.

  • gpio.md defines the dual-window GPIO controller.

  • uart.md defines the APB4 UART controller.

  • i2c.md defines the dual APB4 I2C controllers.

  • dvp.md defines the APB4 DVP capture controller.

  • i2s.md defines the APB4 I2S master transceiver.

  • usb2.md defines the dual-role ULPI USB 2.0 controller, AXI4 descriptor DMA, dedicated-pad integration, HAL, and commercial release gates.

  • crypto.md defines AES/SHA-2/RSA and its macro-first refreeze: six private SRAM banks, LP constant initialization, APB V2, bounded erasure, preserved algorithm/DMA/IRQ contracts and stable CRYPTO-P0/P1/P2 phases. The storage refreeze is specified, not yet implemented or qualified.

  • jpeg.md defines the Baseline JPEG encoder/decoder, commercial reference survey, APB4/AXI4 DMA and SG-ring ABI, HAL, verification evidence, measured performance baseline, and 1080p60 optimization gates.

  • ga2d.md freezes the Mini 2D graphics accelerator, private AXI64 DMA, APB4 and HAL ABI, expanded LP interrupts, ninth data master, and ordered implementation/evidence phases; it does not claim implemented RTL.

  • apu.md defines the coreless Mini Audio Processing Unit, bounded codec microcode ISA, WAV/MP3/FLAC decode, private AXI4 DMA, APB4/ring ABI, I2S streams, independent KWS, lifecycle, and commercial delivery gates.

  • npu.md freezes the independent 64-MAC, 64 KiB Mini NPU, private AXI64 DMA, APB4/job/HAL ABI, resource/IRQ and lifecycle contracts, and stable Phases 0-6. npu-verification.md defines numerical, fixed-model, protocol, performance and physical acceptance; implementation and evidence remain pending.

  • mini-npu.md retains historical commercial NPU research; its old platform assumptions and architecture direction are superseded.

  • sdram.md defines the AXI4 SDRAM data controller and APB4 configuration window.

  • onchip-sram.md defines the shared SRAM ABI and technology boundary, with a separate integration note for Tiny R2's planned bank groups.

  • xpi.md defines the native-AXI4/APB4 XPI V2 controller, commercial reference survey, LUT and PHY contracts, HAL, JTAG NOR programming, and delivery boundary.

The corresponding RTL and HAL implementations remain the executable sources of truth. Update the affected document whenever an IP interface or register ABI changes.