Files
chip_ignite/openlane/ldpc_decoder_top/check_antenna.sh
cah fdd68bb76b feat: complete hardening, wrapper, GLS verification for tapeout
RTL: Split CN_UPDATE into pipelined CN_STAGE1/CN_STAGE2, replace serial
popcount with balanced adder tree for timing closure.

Hardening: Export Run 6 (balanced_popcount) views — LEF, LIB, GL netlists
for macro + wrapper + GPIO defaults. GDS/DEF/SPEF kept local (cf push).
TT WNS = +3.28ns at 50 MHz. DRC/LVS clean.

Config: Increase SDC min input delays +0.7ns (fix 1,543 hold violations).
Set ERROR_ON_LVS_ERROR=false for wrapper cosmetic pin-match. Fix GPIO
defines to GPIO_MODE_USER_STD_BIDIRECTIONAL.

Verification: 5/5 GLS tests pass, 17/19 precheck pass. Add SPDX headers,
GLS test runner, OpenLane helper scripts. Update README with results.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 22:42:41 -06:00

46 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
# Monitor antenna_iterative run progress
RUN_DIR="ldpc_decoder_top/runs/antenna_iterative"
cd "$(dirname "$0")/.." || exit 1
if [ ! -d "$RUN_DIR" ]; then
echo "Run directory not found: $RUN_DIR"
echo "Has the run been launched?"
exit 1
fi
# Count completed stages
STAGES=$(ls -d "$RUN_DIR"/[0-9]* 2>/dev/null | wc -l)
echo "=== antenna_iterative: $STAGES stages completed ==="
# Show latest stage
LATEST=$(ls -d "$RUN_DIR"/[0-9]* 2>/dev/null | sort -V | tail -1)
if [ -n "$LATEST" ]; then
echo "Latest: $(basename "$LATEST")"
echo "Time: $(stat -c '%y' "$LATEST" 2>/dev/null | cut -d. -f1)"
fi
# Check for errors in latest log
if [ -n "$LATEST" ]; then
LOG=$(find "$LATEST" -name "*.log" -type f 2>/dev/null | head -1)
if [ -n "$LOG" ]; then
ERRORS=$(grep -c -i "error\|GRT-0118\|failed" "$LOG" 2>/dev/null || echo 0)
echo "Errors in latest log: $ERRORS"
if [ "$ERRORS" -gt 0 ]; then
echo "--- Error lines ---"
grep -i "error\|GRT-0118\|failed" "$LOG" | tail -5
fi
fi
fi
# Check for state_out.json (indicates completion)
if [ -f "$RUN_DIR/state_out.json" ]; then
echo "=== RUN COMPLETE ==="
fi
# Check Docker status
echo ""
echo "Docker containers:"
docker ps --filter "ancestor=ghcr.io/efabless/openlane2" --format "{{.Status}}" 2>/dev/null || echo "Cannot query Docker"