Skip to content

fix: preserve whitespace in DSN net names (v0.1.1)#51

Merged
valentinozegna merged 4 commits into
mainfrom
fix/whitespace-net-names
Mar 10, 2026
Merged

fix: preserve whitespace in DSN net names (v0.1.1)#51
valentinozegna merged 4 commits into
mainfrom
fix/whitespace-net-names

Conversation

@valentinozegna
Copy link
Copy Markdown
Contributor

Summary

  • Preserve leading/trailing whitespace in DSN net names instead of silently trimming
  • Coverage report now matches nets by connectivity (component set) rather than exact name string, eliminating false missing/extra net pairs caused by whitespace differences

Closes #49

Test plan

  • npm run type-check && npm run lint && npm test pass
  • CI passes
  • After merge: git tag v0.1.1 && git push origin v0.1.1

…overage

Revert .trim() from 4 net-name extraction sites in the DSN parser.
Whitespace in Cadence net names is electrically significant; trimming
silently merges distinct nets. Coverage script now matches unmatched
nets by pin-set connectivity instead of exact name, handling the
DAT export's whitespace-stripping behavior.
@valentinozegna valentinozegna merged commit 195e6af into main Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leading whitespace in net name causes missing/extra net mismatch in --coverage report

1 participant