Files
essim/test/system.essim
François 516149cdae Rename set-type to set-connector-type; help-panel & types-glossary polish.
- Command renamed from `set-type` to `set-connector-type` for
  clarity (the previous name was ambiguous — "type" of what?). No
  legacy alias kept; old scripts that still used `set-type` must be
  migrated. `test/system.essim` and all user/design docs updated.
- Help panel (RenderHelpPanel) now wraps in borderRounded with a
  centred bold title, so it is visually distinct from the main
  content on every screen. Width bumped from 30 to 32 to include
  the border.
- Analyze screen's Types tab gains a sibling "type glossary" panel
  (also borderRounded, only visible when the Types tab is focused)
  that explains Power / Suspect Power / Hard floor / Gnd in plain
  language using `paragraph()` for clean word-wrap.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 20:41:35 +02:00

90 lines
3.5 KiB
Plaintext

# essim system bring-up script (anonymised sample).
#
# Layout: one VPX 3U backplane carrying four payload cards (three of the
# same kind, one specialised) and three peripheral cards wired non-VPX.
new
# ---------------------------------------------------------------- variables
set netlist_dir /path/to/netlists
set peripheral1_nets $netlist_dir/peripheral1.qcv
set backplane_nets $netlist_dir/backplane.NET
set payload4_nets $netlist_dir/payload4.qcv
set payload_nets $netlist_dir/payload.qcv
set peripheral2_nets $netlist_dir/peripheral2.qcv
set peripheral3_nets $netlist_dir/peripheral3.qcv
# ---------------------------------------------------------------- modules
load payload1 $payload_nets mentor
duplicate payload1 payload2
duplicate payload1 payload3
load peripheral1 $peripheral1_nets mentor
load backplane $backplane_nets altium
load payload4 $payload4_nets mentor
load peripheral2 $peripheral2_nets mentor
load peripheral3 $peripheral3_nets mentor
# ---------------------------------------------------------------- VPX tags
# Backplane payload-side connectors, one slot per (Jx0,Jx1,Jx2):
# J2x → payload1, J3x → payload2, J4x → payload3, J5x → payload4.
set-connector-type backplane J20 vpx-3u-bkp-p0
set-connector-type backplane J21 vpx-3u-bkp-p1
set-connector-type backplane J22 vpx-3u-bkp-p2
set-connector-type backplane J30 vpx-3u-bkp-p0
set-connector-type backplane J31 vpx-3u-bkp-p1
set-connector-type backplane J32 vpx-3u-bkp-p2
set-connector-type backplane J40 vpx-3u-bkp-p0
set-connector-type backplane J41 vpx-3u-bkp-p1
set-connector-type backplane J42 vpx-3u-bkp-p2
set-connector-type backplane J50 vpx-3u-bkp-p0
set-connector-type backplane J51 vpx-3u-bkp-p1
set-connector-type backplane J52 vpx-3u-bkp-p2
# Payload connectors on each plug-in card.
set-connector-type payload1 P0 vpx-3u-payload-p0
set-connector-type payload1 P1 vpx-3u-payload-p1
set-connector-type payload1 P2 vpx-3u-payload-p2
set-connector-type payload2 P0 vpx-3u-payload-p0
set-connector-type payload2 P1 vpx-3u-payload-p1
set-connector-type payload2 P2 vpx-3u-payload-p2
set-connector-type payload3 P0 vpx-3u-payload-p0
set-connector-type payload3 P1 vpx-3u-payload-p1
set-connector-type payload3 P2 vpx-3u-payload-p2
set-connector-type payload4 P0 vpx-3u-payload-p0
set-connector-type payload4 P1 vpx-3u-payload-p1
set-connector-type payload4 P2 vpx-3u-payload-p2
# ---------------------------------------------------------------- VPX wiring
# Each connect dispatches via the registered vpx-3u transform.
connect backplane J20 payload1 P0
connect backplane J21 payload1 P1
connect backplane J22 payload1 P2
connect backplane J30 payload2 P0
connect backplane J31 payload2 P1
connect backplane J32 payload2 P2
connect backplane J40 payload3 P0
connect backplane J41 payload3 P1
connect backplane J42 payload3 P2
connect backplane J50 payload4 P0
connect backplane J51 payload4 P1
connect backplane J52 payload4 P2
# ---------------------------------------------------------------- non-VPX
# Both ends untagged → IdentityTransform (matches by canonical pin name,
# so e.g. A1 ↔ A001 is paired thanks to canonical_pin_name).
connect peripheral2 P3 peripheral3 P6
connect backplane J1 peripheral3 P1
# peripheral1 ↔ backplane
connect backplane P100 peripheral1 J100
connect backplane P101 peripheral1 J101
connect backplane P102 peripheral1 J102
# peripheral1 ↔ peripheral2
connect peripheral1 J0 peripheral2 P0
connect peripheral1 J1 peripheral2 P1
connect peripheral1 J2 peripheral2 P2