Share GDSII reader logic and simplify review output
Share record framing, name decoding, payload validation, array reference decoding, and Arrow cell-header parsing. Accept trailing NUL padding in names and retain located diagnostics for malformed records. Summarize text diffs by cell, layer, and reference target. Show comparison and omission counts before detail. Compact canonical dumps while preserving exact fields and duplicate counts for Git textconv. Simplify hierarchy output and retain per-object evidence in JSON.
This commit is contained in:
parent
d95c378690
commit
15e8a3b7b5
5 changed files with 1717 additions and 828 deletions
|
|
@ -160,7 +160,7 @@
|
|||
"replacements": [
|
||||
{
|
||||
"added": "c0:new:0",
|
||||
"explanation": "BOUNDARY modified; coordinate bounds unchanged",
|
||||
"explanation": "1/0: polygon vertices changed (4 -> 3 vertices)",
|
||||
"field_changes": [
|
||||
{
|
||||
"after": {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
profile pheon-structural-v1
|
||||
scope top=all cell=all layer=all
|
||||
coordinates: integer database units; bounds: coordinate envelopes
|
||||
HEADER=[600]
|
||||
LIBNAME="test"
|
||||
UNITS=[0.001, 1e-9] raw=0x3e4189374bc6a7f03944b82fa09b5a54
|
||||
layer 1/0 name="WG"
|
||||
library "test" (GDSII 600, 0.001 user units/dbu, 1e-9 m/dbu)
|
||||
1/0: name "WG"
|
||||
cell "CHIP"
|
||||
BOUNDARY layer=1 datatype=0 xy=[0, 0, 0, 10, 10, 10, 10, 0, 0, 0]
|
||||
1/0: rectangle (0, 0) to (10, 10)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
profile pheon-structural-v1
|
||||
scope top=all cell=all layer=all
|
||||
cell "CHIP" old@Some(62) new@Some(62)
|
||||
~ BOUNDARY modified; coordinate bounds unchanged
|
||||
- @98 bbox=Some([0, 0, 10, 10]) BOUNDARY layer=1 datatype=0 xy=[0, 0, 0, 10, 10, 10, 10, 0, 0, 0]
|
||||
+ @98 bbox=Some([0, 0, 10, 10]) BOUNDARY layer=1 datatype=0 xy=[0, 0, 0, 10, 10, 0, 0, 0]
|
||||
1 changed cells; 2 of 2 object changes shown; 0 layer-name changes
|
||||
Different · 1 changed cell · 1 removed, 1 added
|
||||
cell "CHIP"
|
||||
1/0: 1 polygon changed
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
flowchart TD
|
||||
%% scope top=all cell=all layer=all
|
||||
n0["CHIP [affected]"]
|
||||
n1["leaf [cell changed]"]
|
||||
n2["left [affected]"]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
scope top=all cell=all layer=all
|
||||
"CHIP" x1 [affected]
|
||||
Hierarchy
|
||||
"CHIP" [affected]
|
||||
"left" x1 [affected]
|
||||
"leaf" x2 [cell changed]
|
||||
"right" x1 [affected]
|
||||
|
|
|
|||
Loading…
Reference in a new issue