aesb v0.6 — universal CM4-size base: CM4/CM5 + ECP5

1. Summary

aesb v0.6 (16 Nov 2026): CM4-size universal base — CM4/CM5 socket + LFE5UM5G-45F + eMMC/µSD + eFuse + ML414 RTC. AD9862 ×2, AD9516 and the clock/RF sheets moved off (converters now on aesf: 2 × AD9963 + AD9516); charger/2S pack block removed (external smart pack → +5V_EXT). J3 v0.6 = FMC-like zone: FE_LA00–33 on VADJ banks 7/6/3/2, 3 SERDES lanes + GBTCLK, FE_CLK, FE SPI/GPIO, SMBus, PWR_FAILn, PPS. KiCad ERC v0.6: 0 errors / 416 warnings (pin_to_pin). Model/levels regenerated for v0.6 (17 Nov 2026); AD9862 map = historical. 3D assembly

Sheets: aesb (root) → FPGA (LFE5UM5G-45F-8BG381I U1, W25Q128 config flash, VADJ banks 2/3/6/7 to J3 FE_LA00–33, SERDES DCU0 CH1 + DCU1 CH0/1 + REFCLK D1) · HOST (CM4/CM5 U6 at CM5IO positions, J3 2 × DF40C-100DP FMC-like to aesf, eMMC U29, µSD J101 via U28 mux, STMPS2151 USB power switch) · POWER (U25 TPS259470A eFuse +5V_EXT → +5V, TLV62569 × 3 → +1V2 / +2V5 / +3V3, RTC U35 PCF85063A + Y2, BT1 ML414H-IV01E holdover). Sheets RF / MXFE_A / MXFE_B / CLOCK stay in the folder unreferenced (v0.5).

J3 v0.6 (bottom, to aesf J1): pin N = CM pin N for CM interfaces not used on aesb; freed HDMI0/1, MIPI0/1, USB3-1 pins = FMC-like zone: FE_LA00–33 pairs (VADJ), FE_DP1–3 C2M/M2C + FE_GBTCLK, FE_CLK (AD9516 OUT8 → ECP5), FE SPI (SCK/SDIO/SDO/CS0–2n), FE_RESETn/INTn/PRSNTn, FE_GPIO0–8; VADJ 89/91/97/100 from aesf (TPS7A8300, 3.3 V default); +5V_EXT 77–87 from aesf; SMBus SDA0/SCL0 + PWR_FAILn to the smart 2S pack. J3↔J1 netlist check: 151 same / 49 aesb-only / 0 mismatch.

Model (regenerated 17 Nov 2026, _work/model_aesb.py → aesb_model.json + aesb_sys.v): 3 blocks (FPGA, HOST, POWER), 14 interfaces, 0 open nets; power tree has no unsourced rail (VADJ, +5V_EXT marked external via J3). ERC v0.6: 0 errors / 416 warnings (411 pin_to_pin, 4 isolated CM 89/91/97/100, 1 missing footprint aesb:ML414H_IV01E_tab). Open: ML414 land pattern, CM-compat checks (BPI pins, I2C pull-ups, ArmSoM 104/106 USB3 on R149/R150).

SheetContent
aesb (root)sheet hierarchy, nets joined by labels
FPGALFE5UM5G-45F-8BG381I, W25Q128 config flash, VADJ banks, PPS / PWR_FAILn / FE_PRSNTn pull-ups
HOSTCM4/CM5 (U6), J3 DF40 pair to aesf (FMC-like), eMMC / µSD
POWEReFuse +5V_EXT → +5V, 3 × TLV62569, RTC + ML414 holdover

2. Hierarchy — L1 blocks · L2 interfaces/ports/power · L3 schematic

aesb_sys.v (HDL)model.json

Generated from the KiCad hierarchy by _work/model_aesb.py (sheets = blocks, root labels = nets, interfaces by signal-name rules, power tree from the POWER sheet). Directions are rule-based — edit RULES in the script. HDL: Verilog-2001 structural, one module per sheet, elaborates in yosys.

2b. Schematic (KiCad 10 PDF plot v0.6, 4 pages)

3. AD9862 ↔ ECP5 ball map (historical, v0.5)

SignalAD9862BallBankECP5 pin
DA00_AU3 · AE37PL20B
DA00_BU2 · BH172PR20B
DA01_AU3 · AE47PL17A
DA01_BU2 · BJ172PR20C
DA02_AU3 · AF47PL20A
DA02_BU2 · BK182PR29D
DA03_AU3 · AH16PL41C
DA03_BU2 · BL173PR38B
DA04_AU3 · AH37PL29D
DA04_BU2 · BM183PR38D
DA05_AU3 · AJ16PL41B
DA05_BU2 · BM173PR41B
DA06_AU3 · AK16PL41D
DA06_BU2 · BN203PR59B
DA07_AU3 · AK26PL41A
DA07_BU2 · BN193PR59A
DA08_AU3 · AK36PL38D
DA08_BU2 · BN183PR41C
DA09_AU3 · AK46PL44A
DA09_BU2 · BN173PR44A
DA10_AU3 · AL16PL65C
DA10_BU2 · BP203PR62A
DA11_AU3 · AL26PL62D
DA11_BU2 · BP193PR59C
DB00_AU3 · AL36PL62C
DB00_BU2 · BP183PR59D
DB01_AU3 · AL46PL44C
DB01_BU2 · BP173PR41D
DB02_AU3 · AM16PL65B
DB02_BU2 · BR203PR62B
DB03_AU3 · AM36PL62B
DB03_BU2 · BR183PR65B
DB04_AU3 · AM46PL59A
DB04_BU2 · BR173PR44D
DB05_AU3 · AN16PL65D
DB05_BU2 · BT203PR62C
DB06_AU3 · AN26PL65A
DB06_BU2 · BT193PR65A
DB07_AU3 · AN36PL62A
DB07_BU2 · BT183PR65D
DB08_AU3 · AN46PL59C
DB08_BU2 · BU203PR62D
DB09_AU3 · AP16PL68A
DB09_BU2 · BU193PR65C
DB10_AU3 · AF27PL32C
DB10_BU2 · BJ202PR32C
DB11_AU3 · AP26PL68B
DB11_BU2 · BU183PR68A
RESET_CODECU2+U3P56PL59D
SCLKU2+U3U173PR68B
SDIU2+U3T163PR53A
SDOU2+U3R163PR44C
SEN_CODEC_AU3 · AE17PL26D
SEN_CODEC_BU2 · BH182PR20A
TX00_AU3 · AD27PL26C
TX00_BU2 · BG182PR17B
TX01_AU3 · AD17PL26B
TX01_BU2 · BG202PR26D
TX02_AU3 · AC57PL11D
TX02_BU2 · BF172PR17A
TX03_AU3 · AC47PL14A
TX03_BU2 · BF182PR14D
TX04_AU3 · AC37PL17C
TX04_BU2 · BF192PR26B
TX05_AU3 · AC27PL23D
TX05_BU2 · BF202PR26C
TX06_AU3 · AC17PL26A
TX06_BU2 · BE172PR14B
TX07_AU3 · AB57PL11C
TX07_BU2 · BE182PR14C
TX08_AU3 · AB47PL14B
TX08_BU2 · BE192PR23D
TX09_AU3 · AB37PL14D
TX09_BU2 · BE202PR26A
TX10_AU3 · AB27PL23C
TX10_BU2 · BD182PR14A
TX11_AU3 · AB17PL23B
TX11_BU2 · BD192PR23B
TX12_AU3 · AA37PL14C
TX12_BU2 · BD202PR23C
TX13_AU3 · AA27PL23A
TX13_BU2 · BC202PR23A
TXSYNC_AU3 · AD37PL17D
TXSYNC_BU2 · BH202PR29B

4. Design log (chat sessions)

Igor's messages verbatim; Claude's replies condensed. Newest session first.

2026-11-16 (3) — aesb — block-level parameters, host link, vs USRP, v0.3 10 MHz / PPS, v0.4 battery UPS + RTC (5 turns)
1. оціни параметри пристрою на рівні блоксхеми
Igorоціни параметри пристрою на рівні блоксхеми
Claude2x AD9862: 4 RX 12 bit / 64 MSPS (2 complex), 4 TX 14 bit / 128 MSPS, coherent from one AD9516. Raw RX 3.07 Gb/s (12-bit) vs PCIe Gen2 x1 ~3.2-3.5 Gb/s -> FPGA decimation required; ECP5-45 fits 4 DDC. Clock 15.36 MHz -> VCO 2.304 GHz (4 MHz above min of 2.30-2.65 GHz) -> /36 = 64 MHz; option R=3 N=500 VCO 2.56 GHz /40. Power est. CM4 5-11 W, CM5 8-16 W; eFuse ORing does not add sources -> one USB-C 5V/3A = 15 W ceiling; ADP3336 VDD_CLK thermal check; AVDD_1/2 no source.
2. PCIe x1, чи паралельний портfpga-cm4?
IgorPCIe x1, чи паралельний портfpga-cm4?
ClaudePCIe x1: ~3.2-3.5 Gb/s each way, CM4 and CM5, already wired. SMI parallel ~0.2-0.5 Gb/s, CM4 only (CM5/RP1 has no SMI), eats GPIO. Option for later: FPGA as MIPI CSI-2 source into CM camera port for RX (~4 Gb/s, FPGA->CM only).
3. vs usrp1,2,3?
Igorvs usrp1,2,3?
Claudeaesb = USRP1 converter core (2x AD9862) with ~12x host stream (PCIe vs USB2), ~4x FPGA, embedded CM host (E3xx-like). vs N210: more stream, 4 coherent RX, lower ADC res/rate. vs B210: same 12 bit/~60 MSPS class, 4 RX + standalone, RF on aesf. vs X310: different class. Gap: no 10 MHz / PPS input.
4. додай: вхід 10 МГц / PPS для синхронізації кількох пристроїв.
Igorдодай: вхід 10 МГц / PPS для синхронізації кількох пристроїв.
Claudev0.3 (_work/patch_v03.py): CLOCK J501 U.FL 10 MHz -> R520 49.9R -> C522 -> R521/R522 Vcc/2 bias -> U30 SN74LVC1G17 -> R523 22R -> AD9516 REF2 (DC-coupled CMOS), C502 DNP. FPGA J201 U.FL PPS -> R290 10k pd, R291 100R -> U31 SN74LVC1G17 (5.5 V tolerant) -> R292 22R -> PPS_IN = ECP5 C17 (ex UFP47, root renamed). Model rev 0.3, interface SYNC.
5. бекап, батарейне живлення,
Igorбекап, батарейне живлення,
ClaudeAnswers: RTC + UPS, all on aesb, project backup too. v0.4 (_work/patch_v04.py), POWER sheet A2->A1: J102 2S pack (BAT+ MID NTC BAT-) + F902 5A; U33 BQ25887 boost charger from VBUS_USB1/2 via D904/D905 SS34, I2C CM_SDA0/SCL0 0x6A, NTC TS divider, MID 300R, CBSET 47R; U34 TPS62933 2S -> BAT_5V 4.88 V (EN UVLO 6.0 V), R973 DNP option /PG -> EN; U32 TPS259470A = 3rd +5V ORing input. RTC: BT1 BR2032 -> CM_VBAT (CM5), U35 PCF85063A 0x51 + Y2 32.768 kHz, VDD via D906 BAT54C. Root POWER sheet pins CM_SDA0/SCL0/CM_VBAT. Fixed 9 duplicate #PWR refs from v0.2. Open: R_ILIM (K_ILIM), L901 value, TS divider check, footprints J102/BT1/Y2/RPW/RGE.
2026-11-16 — aesb — KiCanvas render, 3-level hierarchy, HDL model, CM4/CM5 compatibility, v0.2 storage + eFuse (15 turns)
1. aes continue from 16 Nov handoff (2) — aesb sch D:\ae\aes\aesb, daughter page aesb\index.html linked from D:\a…
Igoraes continue from 16 Nov handoff (2) — aesb sch D:\ae\aes\aesb, daughter page aesb\index.html linked from D:\ae\aes\index.html; stack: TypeScript pages + Python KiCad (Rust later); next: in-browser schematic render for aesb (KiCanvas or own TS SVG renderer), ERC, aesc/aesf
ClaudeDone — the aesb page now renders the schematic live in the browser with KiCanvas (no own TS renderer needed). Section 2 of aesb\index.html is an interactive viewer of all 8 sheets (pan/zoom, click part/net for properties, sheet list via 'folder'); KiCad 10 PDF kept as 2b. KiCanvas built from its GitHub source (kicanvas.org blocked here) and vendored as aesb\vendor\kicanvas.js (MIT). Verified in headless Chrome: root sheet and MXFE_A (U3 AD9862) render, all 8 sheets in the hierarchy; only harmless parser warnings (exclude_from_sim token). Note: needs a web server (aes.aegisel.com or local), not file://. Page numbers skip 7 (1–6, 8, 9) — leftover of the removed USB sheet. Backup index.before-kicanvas.html. Next: ERC on PC, aesc/aesf.
2. "USB sheet I removed"?
Igor"USB sheet I removed"?
ClaudeThat's the ASR5 USB/CH32 sheet (asr5_usb.kicad_sch), dropped by _work\build_aesb.py in the previous session per your spec (aesb has no CH32/USB; USB-C goes to aesf) — line 1 of the script says so, line 80 drops the file. Page numbers came unchanged from the ASR5 root, where that sheet was page 7. "I removed" was loose wording — the build script did it, to your spec.
3. зроби схему ієрархічною та легко читабельною - можливо, три рівні - блок-схема, як на "D:\ae\aes\aesb\index.ht…
Igorзроби схему ієрархічною та легко читабельною - можливо, три рівні - блок-схема, як на "D:\ae\aes\aesb\index.html"б середній рівень - вузли, порти, ітерфейси, живлення - для проектування та симуляцій на ситемному рівні(hdl?) і принципова схема
ClaudeSection 2 of the aesb page now has three levels, drill-down by click, all generated from the KiCad files. L1 — block diagram: 7 blocks, buses with name, net count and driver arrow, colour = type, thickness = width. L2 — interfaces, ports, power: block symbol with grouped buses, inputs left / outputs right, rails on top with source and voltage, ground below; table of interfaces, parts, sheet notes; POWER shows the power tree. L3 — schematic of the selected sheet in KiCanvas. HDL: aesb_sys.v, Verilog-2001, one module per sheet, rails are ports driven by the POWER module; elaborates in yosys. Generator _work\model_aesb.py → aesb_model.json + aesb_sys.v; page _web\levels.ts → levels.js. Directions are rule-based (RULES). Model findings: VBUS_USB1/2 no source on aesb (+5V unpowered); AVDD_1/AVDD_2 no regulator in POWER; +1V2_MCU no load (CH32 leftover); CH32_NRST/RX1/TX1 3 orphan ports on FPGA; open at root: UFP ·49, USB ·18, CM_SERVICE ·7, AUX ·8+8.
4. сумісність з існуючими засобами системного проектування заважатиме ?
Igorсумісність з існуючими засобами системного проектування заважатиме ?
ClaudeNo. KiCad stays the single source of truth; the model and HDL are generated from it and overwrite nothing. Verilog-2001 is read by Icarus, Verilator, Questa, Vivado, yosys. Limits: analog nets are plain wire (Verilog-AMS wreal/electrical or SV real needed for mixed-signal); power ports are ordinary digital ports, not supply nets (UPF for power checks). Exchange with system-level tools (IP-XACT, SysML v2/Capella, SystemC/TLM, Simulink) is just another export from the same aesb_model.json.
5. бекап локально і в репо
Igorбекап локально і в репо
ClaudeBoth done. Local: D:\ae\aes\_bak\aes_2026-11-16_aesb-hierarchy.zip (1 MB, 38 files). Repo gor358/aes commit cea9311: public/aesb/ = new page with all three levels; src/aesb/ = full KiCad mirror (not served); public/index.html with aesb link. The previous public/aesb/index.html (near-copy of the aes5 page, commit 11:29) replaced — still in history at 118c09c. aes0 not backed up.
6. превір репо на приватність
Igorпревір репо на приватність
Claudegor358/aes is private (visibility private, 0 forks). Site served only on aes.aegisel.com behind Cloudflare Access (workers_dev false, preview_urls false).
7. ця плата має еквівалент cm5io для будь-якого варіанта cm4, cm5
Igorця плата має еквівалент cm5io для будь-якого варіанта cm4, cm5
ClaudeThe HOST sheet doesn't yet meet that. Blocking: (1) Lite modules can't boot — SD pins 57–73 NC; (2) +5V through 2 A fuse F901, below the 2.5 A CM5 budget; (3) pin 104 PCIE_nWAKE has no 8.2k pull-up (CM5 requirement), pins 104/106 go straight to ECP5 and are Reserved on CM4. Watch on aesf: PCIe TX R611/R612 0R relies on module caps (220 nF works with both); USB3 pins 128–171 only with CM5; pin 111 VBUS_EN (CM4: VDAC_COMP) needs its own default pull; pin 92 RUN_PG vs PWR_Button; pin 76 Reserved vs VBAT. OK for both: GPIO_VREF = CM_3V3 via R101, EEPROM_nWP, LEDs, nRPIBOOT, PMIC_Enable, pins 16/19/100 NC. Not on aesb vs CM5IO: Ethernet, HDMI, MIPI, fan, RTC holder, M.2.
8. тепер сумісні?
Igorтепер сумісні?
ClaudeNot yet — the aesb schematic files hadn't changed since 12:00 and the repo had no new commits; the three blocking gaps were still open.
9. 1 додай пам'ять на плату. 2 eFuse?; 3 не знаю. знайди рішення сам
Igor1 додай пам'ять на плату. 2 eFuse?; 3 не знаю. знайди рішення сам
Claude(work started — see v0.2 result below)
10. uSD + mem ic onboard
IgoruSD + mem ic onboard
ClaudeBoth on one bus need a selector: CM4/CM5 Lite have a single SD/eMMC interface → TS3A27518E 6-ch mux; mux and both stores powered from SD_3V3 (switched by SD_PWR_ON) so the bus is isolated when off.
11. I`t`ll be rugged unserviced dev
IgorI`t`ll be rugged unserviced dev
Claude→ on-board industrial eMMC (JEDEC FBGA-153, pSLC) as main store; selection by resistor strap (default eMMC), not by µSD card-detect (vibration could swap the bus mid-write).
12. SD only for debugging , fw etc
IgorSD only for debugging , fw etc
Claude→ µSD selected only by fitting a 0R, can be DNP in production.
13. (result of 1–3)
Igor(result of 1–3)
ClaudeAll three entered in the aesb schematic; ERC not run (no kicad-cli here), connectivity checked by script and rendering. HOST: U27 STMPS2151 (SD_PWR_ON → SD_3V3); U28 TS3A27518E mux; U29 eMMC FBGA-153 4-bit, VCC=VCCQ=3.3 V; R141 10k → eMMC default, R142 0R (DNP) → µSD; J101 µSD (debug/fw); pull-ups CMD 10k, DAT 47k, RST_n 10k. POWER: D901/D902 (SS34) + F901 (2 A) → 2× TPS259470A ideal-diode ORing, ILIM 6.1 A (549R), UVLO 4.29 V, OVLO 6.02 V, tR ~20 ms. nWAKE: 8.2k to CM_3V3 on pin 104, 100k to GND on pin 106; ECP5 balls E7/J4 inputs only. To check: TS3A27518E truth table (assumed IN=L → COM-NC = eMMC); MPN/footprints for eMMC, µSD socket (hinged/locking), TPS25947 RPW; ERC in KiCad (lock files present — reload if open); +5V source from aesf still open. Script _work\patch_v02.py re-applies from v0.1; backups aesb_host.v01 / aesb_power.v01.
14. ,trfg (бекап)
Igor,trfg (бекап)
ClaudeLocal: D:\ae\aes\_bak\aes_2026-11-16_aesb-v02.zip (1.1 MB, 42 files). Repo gor358/aes commit 9b51f84 on main (public/aesb/ + src/aesb/); repo still private. Previous backup (hierarchy zip, cea9311) kept.
15. Можна весь чат зберігати в той самий html?
IgorМожна весь чат зберігати в той самий html?
ClaudeYes — this log is section 3 "Design log" of the aesb page. Each new session can append its own dated block the same way.

Private engineering page — not for distribution.