PANDA Virtuoso Flow
Use this skill for real PANDA work only. Do not report smoke adapters, seed-only sizing, or deck generation as final silicon-flow results.
Host Profile
Private host names and paths must never be written into tracked files. Use
placeholders in docs and configure private values locally in
.local/virtuoso_run/real.env.
Optional gateway pattern:
ssh -o BatchMode=yes -o ConnectTimeout=10 <gateway-user>@<gateway-host> \
'ssh -o BatchMode=yes -o ConnectTimeout=10 <eda-user>@<eda-host> "hostname"'
Important configured Linux EDA host variables:
- Repo:
$PANDA_REPO - Optional flow copy:
$PANDA_FLOW_ROOT - Virtuoso workspace:
$VIRTUOSO_WORKSPACE - Virtuoso wrapper:
$VIRTUOSO_BIN - Spectre:
$SPECTRE_BIN - T65 model:
$PDK_MODEL_INCLUDE, sectiontt_lib - PR binaries:
$PLACE_KERNEL_BIN,$ROUTE_KERNEL_BIN - PR shared libs:
$PR_LIB_DIRorLD_LIBRARY_PATH - PR tech/stdcell:
$PLACE_TECHFILE,$PLACE_STDCELL - PCell GDS input:
$PANDA_PCELL_GDS_DIR
Do not commit filled env files, GDS, OA databases, PDK content, Calibre output,
Maestro state, PSF data, or private run archives.
StrongARM Comparator
For a clean SA comparator run on the configured Linux EDA host, use the repo script:
cd $PANDA_REPO
set -a
. .local/virtuoso_run/real.env
set +a
python3 virtuoso_run/scripts/run_sa_comp_panda_236.py \
--run-root run/virtuoso/sa_comp_<tag>
Expected checkpoints:
- topology:
comparator/try1/topology_clean.sp - sizing:
comparator/try1/sizing.jsonandstrongarm_tran_tb.scs - PCell GDS:
<run-root>/pcell_gds_flat/*.gds - placement:
placement_result/STRONGARM_COMP.gp.gds - routing:
route_result/STRONGARM_COMP.route.gds
After routing, inspect the log. Return code 0 is not enough.
grep -n 'FAILED WITH DRC\|failed at\|routed successfully\|Finish detailed routing' \
<run-root>/comparator/try1/run_route.log
If FAILED WITH DRC appears, treat routing as not clean even when routing.json says status=ok.
Read references/sa-comparator.md for the final try4 results and known failure modes.
Three-Stage OTA
For the open-source target75 OTA demo, use:
cd $PANDA_REPO
set -a
. .local/virtuoso_run/real.env
set +a
python3 virtuoso_run/scripts/run_three_stage_ota_target75.py \
--run-root run/virtuoso/three_stage_ota_target75_<tag>
Read references/three-stage-ota.md before answering OTA status questions.
Important labels:
try17pre-layout sizing is above 70 dB.try17placement/routing is true PCell.try17layout-matched LVS/PEX is clean.try17topology-source exact LVS is still blocked by theMP_STAGE3_LOADPCell property-expression mismatch.- The 2026-05-23 target75 demo completed topology, real Spectre sizing, placement, and routing with gain
80.05 dB, UGBW1.889 MHz, and PM99.31 deg. - Any old
PM >170 degvalue is invalid; use the corrected phase-margin extraction.
Debug Rules
- Keep each attempt in a new isolated run root.
- Stop at the first failing checkpoint and identify the concrete bad input, script, or tool log.
- Before sizing, confirm
post_topology_decision.downstream_inputs.sizing.symmetry_constraintsexists for matched devices. Bind differential pairs, current mirrors, active loads, and matched capacitors/resistors to shared variables or explicit ratio constraints before launching the optimizer. - For Virtuoso PCell generation, use
$VIRTUOSO_BIN, not the64bit/virtuosobinary directly. - For remote py36 flow files, avoid
from __future__ import annotationsandA | Btyping syntax. - For StrongARM Spectre decks, do not write
dc='VCM+VDIFF/2'; Spectre 19.1 rejects that. Define explicit parameters such asVINPDC=605m,VINNDC=595m. - For Paprika PCell names, avoid multi-underscore MOS suffixes. Use single-token suffixes after
MN_/MP_, and generate both original and stripped GDS aliases. - Store only sanitized process summaries in docs. Keep generated GDS and private absolute paths out of Git.
References
references/sa-comparator.md: successful SA comparator flow, metrics, artifacts, and bug fixes.references/three-stage-ota.md: successful OTA flow, post-PEX metrics, and remaining caveat.
Scripts
scripts/run_three_stage_ota_target75.py: open-source-safe runner for the target75 OTA topology/sizing/placement/routing demo.scripts/run_sa_comp_panda_236.py: runner for the StrongARM comparator demo; historical filename retained, but private host/path values are supplied by env/CLI.scripts/strongarm_sizing_backend.py: real Spectre transient backend for the comparator.scripts/extract_strongarm_perf.py: parser for comparator transient delay/energy metrics.