step-examples/12-8-mixed/M150.stp
Sources
- 16-iso-spec ISO 10303-210 §7 (network electrical attributes)
- bug-reporter language: "AP210 diff pair length skew", "USB differential pair mismatched", "ECAD high-speed length tolerance".
Sender
deduced — ECAD exporter that wrote conductor lengths from a routing engine before length-tuning was applied
Description
A paired-trace net (e.g. USB_DP / USB_DM) declares one conductor of length 50.0 mm and the other of length 56.0 mm (12 % skew). High-speed differential signaling tolerates only a small fraction (typically < 5 %) of length mismatch; the pair fails timing closure.
Reproducer recipe
two `CONDUCTOR_TRACK_PROFILE` entries with `LENGTH_MEASURE(50.0)` and `LENGTH_MEASURE(56.0)` linked under a single `NETWORK`.
Expected kernel behavior
validate length matching for declared differential pairs; warn or reject if skew exceeds tolerance.
Notes
Synonyms: "differential pair skew", "PCB length mismatch", "AP210 USB pair too far apart".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN')count_entity_def(b'CONDUCTOR_TRACK_PROFILE') >= 2contains(b'NETWORK')
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M150: AP210 differential-pair traces have > 5% length mismatch */ 3/* DEFECT: USB_DP=50.0mm, USB_DM=56.0mm â 12% length skew exceeds 5% tolerance */ 4/* High-speed differential signaling (USB 2.0) requires < 5% length skew */ 5/* 6mm mismatch at 480Mbit/s introduces ~41ps skew, causing ISI and BER failures */ 6/* Per ISO 10303-210 §7 network electrical attributes must be validated */ 7/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */ 8/* Byte assertion: count_entity_def(b'CONDUCTOR_TRACK_PROFILE') >= 2 */ 9/* Byte assertion: contains(b'NETWORK') */ 10HEADER; 11FILE_DESCRIPTION(('M150: AP210 USB diff-pair length skew 12%'),'2;1'); 12FILE_NAME('M150.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','',''); 13/* Byte assertion: contains(b'ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN') */ 14FILE_SCHEMA(('ELECTRONIC_ASSEMBLY_INTERCONNECT_AND_PACKAGING_DESIGN { 1 0 10303 210 3 1 0 }')); 15ENDSEC; 16DATA; 17#1=APPLICATION_CONTEXT('electronic_assembly_interconnect_and_packaging_design'); 18#2=APPLICATION_PROTOCOL_DEFINITION('international standard', 19 'electronic_assembly_interconnect_and_packaging_design',2014,#1); 20/* Standard unit context (mm) */ 21#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 22#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 23#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 24#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10, 25 'distance_accuracy_value','maximum model space distance between geometric entities'); 26#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3) 27 GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13)) 28 GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12)) 29 REPRESENTATION_CONTEXT('pcb','3D')); 30/* Byte assertion: count_entity_def(b'CONDUCTOR_TRACK_PROFILE') >= 2 */ 31/* USB_DP positive trace: 50.0 mm â reference length for the pair */ 32#100=CONDUCTOR_TRACK_PROFILE('USB_DP',LENGTH_MEASURE(50.0),$,$); 33/* DEFECT: USB_DM negative trace: 56.0 mm â 12% longer than USB_DP */ 34/* length skew = (56.0 - 50.0) / 50.0 = 12% >> 5% allowed for USB 2.0 */ 35#101=CONDUCTOR_TRACK_PROFILE('USB_DM',LENGTH_MEASURE(56.0),$,$); 36/* Byte assertion: contains(b'NETWORK') */ 37/* NETWORK 'USB_DIFF' groups both conductors as a differential pair */ 38#200=NETWORK('USB_DIFF',(#100,#101)); 39/* GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty */ 40#300=GEOMETRIC_CURVE_SET('ap210-differential-pair-length-skew-usb-dp-dm', 41 (#100,#101,#200)); 42/* Product chain */ 43#400=APPLICATION_CONTEXT('mechanical design'); 44#401=PRODUCT_CONTEXT('',#400,'mechanical'); 45#402=PRODUCT('M150','M150','M150',(#401)); 46#403=PRODUCT_DEFINITION_FORMATION('','',#402); 47#404=PRODUCT_DEFINITION_CONTEXT(#400,'design'); 48#405=PRODUCT_DEFINITION('','',#403,#404); 49#406=PRODUCT_DEFINITION_SHAPE('','',#405); 50#407=SHAPE_REPRESENTATION('',(#300),#14); 51#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407); 52ENDSEC; 53END-ISO-10303-21;