eda sim

AI Community

Skill notes

Why This Matters

Synopsys tool wrappers (e.g., vcs, verdi) use snpslmd license checkout that may route through network namespaces. In offline setups, this fails silently or hangs. By calling the binary directly via $VCS_BIN (set in .envrc) and ensuring SNPSLMD_LICENSE_FILE=27000@localhost.localdomain, we bypass network dependencies entirely.

Step 0: Environment Setup (MANDATORY, every session)

Before ANY EDA operation, source the project environment: This sets all required variables. Verify with: If .envrc doesn't exist, create one following this template:

Step 1: Running a Single Test

Use the project Makefile when available: If no Makefile or it doesn't work, use direct VCS invocation: Key points: Always use $VCS_BIN (the direct binary path), NEVER bare vcs -timescale=1ns/1ps sets default for modules without explicit timescale

Step 2: Running Regression

Use the project regression script: If writing a custom regression script, key patterns: Use $VCS_BIN not vcs for compilation Each test needs its own working directory with current_case/ symlinks Create empty define.sv if the test case doesn't provide one (flist requires it)

Step 3: Post-Processing Results

Check simulation pass/fail: Common false positive patterns to add to exclude.txt: error_type.*v_error_type_e — UVM transaction field prints ^UVM_INFO — info messages containing "error" substring error_en 0 rand_num — error-enable field in protocol logs

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
AI
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@cike128 · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
Python >=3.6
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview eda-sim.preview
# Step 3: Post-Processing Results

# 1. Verify simulation completed
grep -q '$finish' sim.log && echo "SIM FINISHED" || echo "SIM INCOMPLETE"

# 2. Check for errors (filter known benign patterns via exclude.txt)
grep -iE 'error|warning' sim.log \
    | grep -v 'Warning-\[' \
    | grep -v 'UVM_WARNING *:' \
    | grep -v 'UVM_ERROR *:' \
    | grep -v 'UVM_FATAL *:' \
    | grep -v -f exclude.txt

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.