Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ so it is not a source of truth and is not required reading. Treat it as read-onl
### Additional resources

- **Cadence schemas**: `docs/olb.xsd`
- **Coverage scripts**: `scripts/dsn-vs-dat-coverage.ts`, `scripts/dsn-coverage-report.ts`, `scripts/dsn-inspect.ts` (see `scripts/AGENTS.md`)
- **Coverage scripts**: `scripts/dsn-vs-dat-coverage.ts`, `scripts/dsn-coverage-report.ts`, `scripts/dsn-definition-check.ts`, `scripts/dsn-inspect.ts` (see `scripts/AGENTS.md`)

## Git Guidelines

Expand Down
29 changes: 26 additions & 3 deletions docs/cadence-dsn-format.md

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions docs/decision-tables/dsn-net-assignment/part-definition.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
own_library,packages_stream,other_library,outcome,next,status,note
defines the part,holds the part,defines the part,its own library's definition,,decided,"pin-resolver.ts selectPinMap, ownLibrary. Bug fix (#327): was the first definition under the name, or the Packages/ stream's. Capture's exports follow the instance's library: PROIECT_TIE1 (R placed from DISCRETE.OLB, map 1,2, beside PSPICE ANALOG.OLB's 2,1) 3 of 19 nets identical before and 19 of 19 after; PROIECT-PCB (NPN BCE, Packages/ map 1,3,2 against its library's 1,2,3) 24 of 30 before and 30 of 30 after; pstxnet names the library and view of every node (INS350@ANALOG.R.NORMAL). Decided on real files: all 2,519 placed parts in this cell, in 94 designs, resolve every pin number, Pin Ignore flag and pin name to their own library's records (scripts/dsn-definition-check.ts over the fixtures and the public survey, 2026-11-25); on the 61 survey designs whose Capture export corresponds to the design, all 28,015 export nodes name the library the part's record names"
defines the part,holds the part,none,its own library's definition,,decided,"pin-resolver.ts selectPinMap, ownLibrary. Bug fix (#327): was the first definition under the name, or the Packages/ stream's. Capture's exports follow the instance's library: PROIECT_TIE1 (R placed from DISCRETE.OLB, map 1,2, beside PSPICE ANALOG.OLB's 2,1) 3 of 19 nets identical before and 19 of 19 after; PROIECT-PCB (NPN BCE, Packages/ map 1,3,2 against its library's 1,2,3) 24 of 30 before and 30 of 30 after; pstxnet names the library and view of every node (INS350@ANALOG.R.NORMAL). Decided on real files: all 3,085 placed parts in this cell, in 134 designs, resolve every pin number, Pin Ignore flag and pin name to their own library's records (scripts/dsn-definition-check.ts over the fixtures and the public survey, 2026-11-25); on the 61 survey designs whose Capture export corresponds to the design, all 28,015 export nodes name the library the part's record names"
defines the part,none,defines the part,its own library's definition,,decided,"pin-resolver.ts selectPinMap, ownLibrary. Bug fix (#327): was the first definition under the name, or the Packages/ stream's. Capture's exports follow the instance's library: PROIECT_TIE1 (R placed from DISCRETE.OLB, map 1,2, beside PSPICE ANALOG.OLB's 2,1) 3 of 19 nets identical before and 19 of 19 after; PROIECT-PCB (NPN BCE, Packages/ map 1,3,2 against its library's 1,2,3) 24 of 30 before and 30 of 30 after; pstxnet names the library and view of every node (INS350@ANALOG.R.NORMAL). Decided on real files: all 8,234 placed parts in this cell, in 126 designs, resolve every pin number, Pin Ignore flag and pin name to their own library's records (scripts/dsn-definition-check.ts over the fixtures and the public survey, 2026-11-25); on the 61 survey designs whose Capture export corresponds to the design, all 28,015 export nodes name the library the part's record names"
defines the part,none,none,its own library's definition,,decided,"pin-resolver.ts selectPinMap, ownLibrary. Bug fix (#327): was the first definition under the name, or the Packages/ stream's. Capture's exports follow the instance's library: PROIECT_TIE1 (R placed from DISCRETE.OLB, map 1,2, beside PSPICE ANALOG.OLB's 2,1) 3 of 19 nets identical before and 19 of 19 after; PROIECT-PCB (NPN BCE, Packages/ map 1,3,2 against its library's 1,2,3) 24 of 30 before and 30 of 30 after; pstxnet names the library and view of every node (INS350@ANALOG.R.NORMAL). Decided on real files: all 50,406 placed parts in this cell, in 596 designs, resolve every pin number, Pin Ignore flag and pin name to their own library's records (scripts/dsn-definition-check.ts over the fixtures and the public survey, 2026-11-25); on the 61 survey designs whose Capture export corresponds to the design, all 28,015 export nodes name the library the part's record names"
lacks the part,holds the part,defines the part,the Packages/ stream's definition,,draft,"pin-resolver.ts selectPinMap; unchanged. No real part reaches this cell: 64,244 of 64,251 placed parts in the fixtures and the public survey have a package of their name from their own library, and the other 7 name no library and have no Packages/ stream"
lacks the part,holds the part,none,the Packages/ stream's definition,,draft,"pin-resolver.ts selectPinMap; unchanged. No real part reaches this cell: 64,244 of 64,251 placed parts in the fixtures and the public survey have a package of their name from their own library, and the other 7 name no library and have no Packages/ stream"
lacks the part,none,defines the part,the first definition under its name,,draft,"pin-resolver.ts selectPinMap, cache-parser.ts indexCachePackage; unchanged"
lacks the part,none,none,no definition,,draft,pin-resolver.ts resolvePinNumber: the pin takes its position in the symbol
not named,holds the part,defines the part,the Packages/ stream's definition,,draft,"pin-resolver.ts selectPinMap; unchanged. No real part reaches this cell: 64,244 of 64,251 placed parts in the fixtures and the public survey have a package of their name from their own library, and the other 7 name no library and have no Packages/ stream"
not named,holds the part,none,the Packages/ stream's definition,,draft,"pin-resolver.ts selectPinMap; unchanged. No real part reaches this cell: 64,244 of 64,251 placed parts in the fixtures and the public survey have a package of their name from their own library, and the other 7 name no library and have no Packages/ stream"
not named,none,defines the part,the first definition under its name,,draft,"pin-resolver.ts selectPinMap, cache-parser.ts indexCachePackage; unchanged. Reached by 7 placed parts of one survey design (opa892.dsn), whose Library string table does not read; nothing in the file says which definition is theirs"
not named,none,none,no definition,,draft,pin-resolver.ts resolvePinNumber: the pin takes its position in the symbol
57 changes: 57 additions & 0 deletions docs/decision-tables/dsn-net-assignment/part-definition.rules.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "part-definition",
"rules": [
{
"when": {
"own_library": [
"lacks the part",
"not named"
],
"packages_stream": [
"holds the part"
]
},
"outcome": "the Packages/ stream's definition",
"next": "",
"cells": 4
},
{
"when": {
"own_library": [
"lacks the part",
"not named"
],
"packages_stream": [
"none"
],
"other_library": [
"defines the part"
]
},
"outcome": "the first definition under its name",
"next": "",
"cells": 2
},
{
"when": {
"own_library": [
"lacks the part",
"not named"
],
"packages_stream": [
"none"
],
"other_library": [
"none"
]
},
"outcome": "no definition",
"next": "",
"cells": 2
}
],
"default": {
"outcome": "its own library's definition",
"next": ""
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
| # | When | Outcome | Next | Cells |
|---|---|---|---|---|
| 1 | own_library = lacks the part / not named; packages_stream = holds the part | the Packages/ stream's definition | | 4 |
| 2 | own_library = lacks the part / not named; packages_stream = none; other_library = defines the part | the first definition under its name | | 2 |
| 3 | own_library = lacks the part / not named; packages_stream = none; other_library = none | no definition | | 2 |
| else | everything else | its own library's definition | | |

12 cells became 3 rules plus a default
equivalent values of own_library: lacks the part = not named
13 changes: 13 additions & 0 deletions docs/decision-tables/dsn-net-assignment/part-definition.spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "part-definition",
"assumes": [
"A placed part on a version-3 page, looked up by its package name. section-pin-map picks the section of a multi-section package within the definition this table picks",
"Each definition's pin map has the symbol's pin count. Where the Packages/ and Cache maps differ in length, the pin-count rule of docs/cadence-dsn-format.md §5.9 chooses between them",
"own_library 'not named': the instance carries no library string, because the Library string table could not be read"
],
"dimensions": {
"own_library": ["defines the part", "lacks the part", "not named"],
"packages_stream": ["holds the part", "none"],
"other_library": ["defines the part", "none"]
}
}
Loading