Electronics Reflector Design Spec - thepinkmile/Enigma-NG GitHub Wiki
Reflector Board (V1.0) Design Specification
Status: Draft Project: Enigma-NG Author: Izzyonstage & GitHub Copilot Version: v1.0.0 Associated Hardware Revision: Rev A Last Updated: 2026-04-20
1. Overview
The Reflector Board sits at the far end of the rotor stack. Its primary role is to receive the signals
from the final rotor and return them back through the stack via a different electrical path.
It also acts as the passive JTAG end-of-chain turnaround and returns TTD_RETURN directly back to the
Stator so the Stator CPLD can keep all reflector-mapping ownership in one place without requiring a
second CPLD on the Reflector itself.
Functional & Design Requirements
Functional Requirements
| ID | Functional Requirement | Notes | Satisfied By / Cross-Ref |
|---|---|---|---|
| FR-REF-01 | Terminate the JTAG daisy-chain at the end of the 30-rotor stack | Connects to Rotor 30 J4/J5/J6 outputs | ยง3 JTAG & Logic Hub; BOM J1โJ3 (ERM8) |
| FR-REF-02 | Provide the mandatory physical turnaround path at the end of the rotor/extension chain while the selected reflection map is applied by the Stator CPLD | Passive turnaround board โ no local CPLD required | ยง2 Architecture; BOM J1โJ4 |
| FR-REF-03 | Return the JTAG TTD_RETURN signal from the end of the chain to the Stator | Via J4 โ Stator J10 โ Controller-facing J5 logic dock โ FT232H |
ยง3 JTAG & Logic Hub; BOM J4 (16-pin), R1 (22ฮฉ) |
| FR-REF-04 | Provide end-of-chain JTAG signal damping | Prevents reflections in the serial chain | ยง3 JTAG & Logic Hub; BOM R1 (22ฮฉ) |
Design Requirements
| ID | Design Requirement | Specification | Satisfied By / Cross-Ref |
|---|---|---|---|
| DR-REF-01 | PCB stackup | 4-layer, 2oz finished copper (JLC04161H-7628) | ยง6 PCB Fabrication & Stackup |
| DR-REF-02 | Input connectors | J1 = ERM8-005 (JTAG, plugs into Rotor 30 J4), J2 = ERM8-005 (Power, Rotor 30 J5), J3 = ERM8-010 (ENC, Rotor 30 J6) | ยง4 Rotor Interface Connectors; BOM J1โJ3 |
| DR-REF-03 | TTD_RETURN output | J4 connector (mates with Stator J10); TTD_RETURN on J4 pin 15 | ยง3 JTAG & Logic Hub; BOM J4 (16-pin 2ร8 shrouded) |
| DR-REF-04 | End-of-chain damping | R1 = 22 ฮฉ, 0603, on TDO line | ยง3 JTAG & Logic Hub; BOM R1 (22ฮฉ) |
| DR-REF-05 | Active logic | None โ passive turnaround board only; reflector-map selection remains Stator-owned | ยง2 Architecture |
2. Architecture
- PCB: 4-Layer (JLC04161H-7628) / 2oz Finished Copper / ENIG Gold / 2.0mm Filleted Corners.
- Standard: Includes Inverted White Data Plate on bottom layer.
System Role: The "Turnaround"
- Logic Type: Passive turnaround.
- Routing Logic: All signal mapping is handled remotely by the Intel MAX II EPM570T100I5N CPLD
located on the Stator Board. The active reflection-map configuration is selected via the Settings
Board panel switches (Bank 2, SW_B2[5:0]) read by Settings Board
U_EXP_SW_IN@ 0x23 and driven to the Stator CPLD byU_EXP4@ 0x22 โ see DEC-032. - CPLD support: None on this PCB; the board only provides the mandatory return path.
- Signal Path: Final rotor/extension outputs โ Reflector J1โJ3 (ERM8 male) โ passive turnaround traces
โ ENC cipher data returned toward the Stator;
TTD_RETURNexits via J4 (16-pin header, pin 15) โ Stator J10.
3. JTAG & Logic Hub
- Interconnect: 16-pin (2x8) 2.54mm Shrouded Box Header (Vertical).
Connector Definition Owner:
Stator/Board_Layout.md โ J10. This board uses the mating connector as J4 (Adam Tech BHR-16-VUA โ see BOM). The authoritative 16-pin pinout is defined on the Stator; Pin 1 = 3V3_ENIG, Pin 2 = SYS_RESET_N, Pins 3โ8 = ENC_IN[0:5], Pins 9โ14 = ENC_OUT[0:5], Pin 15 = TTD_RETURN, Pin 16 = GND.
Compatibility note: J4 pin allocation matches Stator J10 (16-pin 2ร8). The Stator J10 was reduced from 20-pin to 16-pin in the design review (this revision) โ J4 requires no changes.
- Decoupling and bulk entry capacitor requirements per
design/Standards/Global_Routing_Spec.md ยง3. - **Termination:**R1 (22ฮฉ) is a series damping resistor on the TDO return line (end-of-chain signal from Rotor 30). It provides impedance damping at the final rotor output before the signal re-enters the Stator via the J4 return ribbon cable.
โ ๏ธ JTAG chain END โ important for future reviewers: The JTAG daisy-chain terminates at this passive board. TCK, TMS, and TDI arrive via BtB connectors (J1โJ3, ERM8 plugging into Rotor 30 J4โJ6) and stop here as end-of-chain signals. They do NOT continue past this board, and they are not consumed by any local CPLD because the Reflector has no active logic.
The J4 ribbon cable (Reflector J4 โ Stator J10) carries:
- Pin 15 โ TTD_RETURN: JTAG TDO return only โ completes the chain back to the FT232H. This is the ONLY JTAG signal on J4.
- Pins 3โ14 โ ENC_IN[0:5] / ENC_OUT[0:5]: Bidirectional Stator CPLD interface (simultaneous). ENC_IN[0:5] (pins 3โ8): return-pass signal driven by Stator CPLD to Reflector chain after optional plugboard insertion (Step 2 drive). ENC_OUT[0:5] (pins 9โ14): reflected signal returned from passive Reflector turnaround to the Stator CPLD (Step 2 receive). These are NOT JTAG signals. See
Stator/Design_Spec.md ยง3 CPLD Signal Routing Matrixfor full signal flow details.- Pin 2 โ SYS_RESET_N, Pin 1 โ 3V3_ENIG, Pin 16 โ GND.
Note: TMS and TDI pull-up resistors (R2/R3) previously listed in this section have been removed. TMS and TDI are NOT routed on J4 (pin 15 = TTD_RETURN only for JTAG; pins 3โ14 = ENC data; pin 2 = SYS_RESET_N). Pull-up termination for TMS and TDI is already provided by the Stator (R3/R4) and Encoder boards (R3/R4) where those signals originate.
- JTAG Trace Width Rule: All JTAG signal traces on L1 (TTD_RETURN and any in-board JTAG
routing) shall be routed at 0.127 mm (5 mil) width over the L2 GND plane, targeting
50 ฮฉ controlled impedance. Stackup upgraded to 4-Layer per DEC-017.
See
design/Electronics/Investigations/JTAG_Integrity.mdand DEC-016. - JTAG Return: TDO from Rotor 30 is routed to Pin 15 (TTD_RETURN) for return to the Stator.
- Loopback: Directly routes 6-bit ENC_IN to 6-bit ENC_OUT via 2oz 10-mil traces.
- Cross-ref: For interconnect pinouts on power (3V3_ENIG/GND), ENC_IN/ENC_OUT, and JTAG TTD_RETURN lines used for reflector loopback/plugboard mapping, See:
Stator/Design_Spec.mdExtension/Design_Spec.md
4. Rotor Interface Connectors
The Reflector connects to the output side of Rotor 30 using the same ERM8 male header family used on each Rotor's output side (J4/J5/J6). One set of three connectors per the Rotor interface definition:
Connector Definition Owner:
Rotor/Design_Spec.md ยง3.4. This board provides ERM8 male headers that plug into Rotor 30's J4/J5/J6 ERF8 female output sockets.
| Ref | Type | Signal Group | Part Series | MPN |
|---|---|---|---|---|
| J1 | ERM8-005 (10-pin, male) | JTAG (TCK, TMS, TTD, SYS_RESET_N + GND) | Samtec ERM8 | ERM8-005-05.0-S-DV-K-TR |
| J2 | ERM8-005 (10-pin, male) | Power (3V3_ENIG ร 5, GND ร 5) โ power pins NC on this board | Samtec ERM8 | ERM8-005-05.0-S-DV-K-TR |
| J3 | ERM8-010 (20-pin, male) | ENC data (ENC_IN[0:5], ENC_OUT[0:5] + GND interleave) | Samtec ERM8 | ERM8-010-05.0-S-DV-K-TR |
J2 power pins (3V3_ENIG and GND) are not connected to the board power plane. J2 is present for mechanical engagement with Rotor 30 J5 only. The Reflector's sole power entry is J4 (ribbon cable, pin 1 = 3V3_ENIG, pin 16 = GND). This prevents a parallel power path / ground loop through the rotor daisy-chain and the direct ribbon cable return. C1โC5 decouple at the J4 power entry.
Orientation: Facing the rotor output side (Rotor 30 top face), perpendicular to the rotor stack axis. The ERM8 header pitch (0.8mm) is physically incompatible with 2.54mm connectors โ label accordingly on silkscreen.
Rotor interface note: The Reflector rotor interface uses the 40 active contacts (10 + 10 + 20) on J1โJ3.
Per design/Standards/Global_Routing_Spec.md ยง5, the Reflector implements a local GND_CHASSIS
net tied to its mounting holes and any deliberate enclosure-contact features, but it does not
implement a local GND-to-GND_CHASSIS bond. The system's only galvanic GND โ GND_CHASSIS bond is
defined on the Power Module at the common power-entry point immediately before the eFuse, so J4
pin 16 is treated as signal/power return only and must not be bridged locally to chassis on the
Reflector.
4.1 Prototype Bench-Testing Provision (Break-Off Coupons)
Each board panel includes 3 break-off PCB coupons (one per ERx8 connector), attached by mousebite perforations. Each coupon fans out the 0.8mm pitch Samtec pads to a standard 2.54mm pitch shrouded IDC box header, permitting standard ribbon cable assemblies to be used for bench testing before full stack assembly. For final production the coupons are snapped off at the mousebite perforations.
| Coupon | Connector | IDC Header | Signal |
|---|---|---|---|
| 1 | J1 โ ERM8-005 (10-pin male) | 2ร5 IDC box header, 2.54mm | JTAG |
| 2 | J2 โ ERM8-005 (10-pin male) | 2ร5 IDC box header, 2.54mm | Power |
| 3 | J3 โ ERM8-010 (20-pin male) | 2ร10 IDC box header, 2.54mm | ENC Data |
IDC part numbers and coupon PCB fanout geometry to be defined at schematic/layout phase.
5. Diagnostic & Monitoring
To ensure the signal has successfully navigated the 30-rotor stack, a dedicated monitoring bank is included.
- Bank Configuration: 2x8 ENIG Gold Diagnostic Looped Probe Pad Bank.
- Standard: Matches the Controller Board 2.54mm (0.1") pitch standard for unified system debugging.
- Labelling:
REFLEKTOR-DIAGNOSE [Reflector Diag]in ALL-CAPS German typewriter font.
6. PCB Fabrication & Stackup
- Stackup: 4-Layer (JLC04161H-7628) / 2oz Finished Copper.
- Layer Mapping: L1: Signal (JTAG/routing) | L2: GND | L3: 3V3_ENIG | L4: Signal (Data Plate).
- Contacts: ERM8-005 (ร2, 10-pin, JTAG and Power) + ERM8-010 (ร1, 20-pin, ENC Data) โ male headers on J1โJ3.
- Fillets: 2.0mm Rounded PCB corners for consistent "Museum-Grade" enclosure fit.
- Routing: Global 0.5mm Fixed-Radius Circular Arcs for all loopback traces.
7. Branding & Traceability
- Data Plate: Inverted white silkscreen "Data Plate" on Bottom (L4) containing the Enigma silhouette, "ENIGMA-NG" text, and JLC Serial Number block.
- Label:
REFLEKTOR-EINHEIT [Reflector Unit]in ALL-CAPS German typewriter font.
8. Bill of Materials
| Ref | Component | Value | Package | Mouser Part # | DigiKey Part # | JLCPCB Part # |
|---|---|---|---|---|---|---|
| C1-C5 | Bulk entry decoupling bank (star/spoke) | 10uF X7R 50V | 1206 | 187-CL31B106KBHNNNE | 1276-6767-1-ND | C89632 |
| J1 | Rotor 30 output interface โ JTAG (ERM8-005, 10-pin male, 0.8mm pitch) | Plugs into Rotor 30 J4 (ERF8-005 female) | SMT | 200-ERM8005050SDVKTR | 612-ERM8-005-05.0-S-DV-K-TRCT-ND | C3649741 |
| J2 | Rotor 30 output interface โ Power (ERM8-005, 10-pin male, 0.8mm pitch) | Plugs into Rotor 30 J5 (ERF8-005 female) | SMT | 200-ERM8005050SDVKTR | 612-ERM8-005-05.0-S-DV-K-TRCT-ND | C3649741 |
| J3 | Rotor 30 output interface โ ENC Data (ERM8-010, 20-pin male, 0.8mm pitch) | Plugs into Rotor 30 J6 (ERF8-010 female) | SMT | 200-ERM8010050SDVKTR | SAM8610CT-ND | C374877 |
| J4 | Interconnect header | Adam Tech BHR-16-VUA โ 16-pin 2ร8 2.54mm shrouded | 2.54mm | 737-BHR-16-VUA | 2057-BHR-16-VUA-ND | C17692295 |
| J5 | Diagnostic looped probe pads | 2x8 ENIG Gold | 2.54mm | N/A | N/A | N/A โ bare PCB pads; no component |
| R1 | JTAG termination | 22ฮฉ | 0603 | 667-ERJ-3EKF2200V | P220HCT-ND | C403073 |