How do you make a sanity script version-conscious?
From PDVerse PnR Interview Handbook, part of the pdVerse Mentor Guide
Short Answer
Don't hardcode command names or default behaviors into a sanity script โ both can silently change between tool releases, and a script that assumes yesterday's defaults can pass or fail for the wrong reasons. A dependable script asks the installed tool what it actually supports before running: use get_design_checks to confirm which check bundles exist in this release.
Technical Explanation
- Use
manon the specific command to confirm its current syntax and options rather than relying on memory or an older script as a template. - This turns the script from "fragile and release-specific" into "self-adapting" โ it queries the live tool for ground truth instead of assuming the environment matches whatever version it was originally written against.
What To Check
- Warning sign: A copied script calls an unavailable check name or relies on changed defaults.
- Inspect: Compare one named object across the related reports; the same object should tell a consistent story.
- Correct: Gate optional checks by supported names, record the tool version, and keep release-specific logic explicit.
Command Checks & Actions
- get_design_checks: lists checks supported by the installed release
- man
check_design: opens the installed command reference - man
check_timing: opens the installed command reference
Run the commands in order. Each line answers a separate part of the check.
Healthy, Suspicious & Hard-stop Results
- Expected: Use get_design_checks to confirm available check bundles and man to confirm syntax in the installed release.
- Stop before floorplanning when required logic or timing coverage is missing or unexplained.
Common Mistake
The Trap: Do not assume the check passed just because ICC2 continued. Fix or narrowly justify the named objects, then rerun the same command.
What The Interviewer Is Testing
Be ready to explain why this matters before floorplanning.
Follow-up Question & Model Response
Model response: โI would save the report, inspect one affected object in the correct block and scenario, and make or request this correction. โ
PnR Flow Mentor Guide
Master the Physical Design Implementation Flow
Read the complete 8-chapter PnR Flow Mentor Guide free on the web โ library setup through placement, clock tree synthesis, routing, chip finishing, hierarchical implementation, and ECO, all the way to stream-out.
Offline PDF Bundle
Want all 1109 questions offline?
Get the complete 4-book PDF bundle (PnR, STA, MMMC, Low Power) with a clickable table of contents - no ads, no internet needed.

Continue practising