M148 — AP210 same NETWORK identifier used for two unrelated nets

§12.8 mixed (sub-class: AP210 net naming collision)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — ECAD exporter that merged two PCB sub-designs without re-namespacing nets

Description

Two `NETWORK` entities both declare the name 'VCC' yet route different conductors with no common node. A net-by-name lookup returns one or the other depending on instance ordering. Connectivity tools merge unrelated traces, breaking impedance / continuity checks.

Reproducer recipe

two `NETWORK('VCC',..)` entities each with a distinct, non-overlapping `NETWORK_NODE` set.

Expected kernel behavior

validate NETWORK.name uniqueness; reject or rename one with a diagnostic.

Notes

Synonyms: "PCB net name collision", "AP210 duplicate net", "ECAD net namespace conflict".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M148: AP210 same NETWORK identifier used for two unrelated nets */
3/* DEFECT: two NETWORK entities both named 'VCC' route different conductors */
4/* Sub-design A VCC and sub-design B VCC are electrically independent */
5/* Net-by-name lookup returns either #200 or #201 — ordering-dependent */
6/* Connectivity tools merge unrelated traces, breaking continuity checks */
7/* Per ISO 10303-210 §7 NETWORK.name must be unique within a design */
8/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
9/* Byte assertion: count_entity_def(b'NETWORK') >= 2 */
10/* Byte assertion: contains(b"NETWORK('VCC',") */
11HEADER;
12FILE_DESCRIPTION(('M148: AP210 duplicate NETWORK name VCC'),'2;1');
13FILE_NAME('M148.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
14/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */
15FILE_SCHEMA(('ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN { 1 0 10303 210 3 1 0 }'));
16ENDSEC;
17DATA;
18#1=APPLICATION_CONTEXT('electronic_assembly_interconnect_and_packaging_design');
19#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
20  'electronic_assembly_interconnect_and_packaging_design',2014,#1);
21/* Standard unit context (mm) */
22#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
23#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
24#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
25#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
26  'distance_accuracy_value','maximum model space distance between geometric entities');
27#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
28  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
29  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
30  REPRESENTATION_CONTEXT('pcb','3D'));
31/* Sub-design A power rail nodes — independent conductor set */
32#100=NETWORK_NODE('vcc_node_a1',());
33#101=NETWORK_NODE('vcc_node_a2',());
34/* Sub-design B power rail nodes — different independent conductor set */
35#102=NETWORK_NODE('vcc_node_b1',());
36#103=NETWORK_NODE('vcc_node_b2',());
37/* Byte assertion: count_entity_def(b'NETWORK') >= 2 */
38/* Byte assertion: contains(b"NETWORK('VCC',") */
39/* DEFECT: both networks named 'VCC' but route different conductors */
40/* Sub-design A VCC net — routes vcc_node_a1 and vcc_node_a2 */
41#200=NETWORK('VCC',(#100,#101));
42/* Sub-design B VCC net — routes vcc_node_b1 and vcc_node_b2 */
43/* No shared nodes with #200 — these are unrelated conductors */
44#201=NETWORK('VCC',(#102,#103));
45/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
46#300=GEOMETRIC_CURVE_SET('ap210-duplicate-network-name-vcc-two-unrelated-nets',
47  (#100,#101,#102,#103,#200,#201));
48/* Product chain */
49#400=APPLICATION_CONTEXT('mechanical design');
50#401=PRODUCT_CONTEXT('',#400,'mechanical');
51#402=PRODUCT('M148','M148','M148',(#401));
52#403=PRODUCT_DEFINITION_FORMATION('','',#402);
53#404=PRODUCT_DEFINITION_CONTEXT(#400,'design');
54#405=PRODUCT_DEFINITION('','',#403,#404);
55#406=PRODUCT_DEFINITION_SHAPE('','',#405);
56#407=SHAPE_REPRESENTATION('',(#300),#14);
57#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407);
58ENDSEC;
59END-ISO-10303-21;