Report Diff Pairs

Version 2

    Author (required): Al Layson

     

    Platform/Format: VBScript

     

    Use case description (required)

    This script will generate a tp_report.txt in the pcb/LogFiles directory of the Expedition pcb design allowing access through Expedition's FileViewer.  It reports the total number of testpoints used, Net Name, Number vs total for net, RefDes, Pad, Layer, X Loc, YLoc, Hole size and Plated state if applicable. At conclusion the script will open the file in WordPad. If not available on your system, change this in the script.

     

     

     

    This script reports on all the Diff Pairs defined for a pcb design, reporting the specifications in Expedition for each Diff Pair and its member nets. Does not look at CES data, just the resulting definitions in Expedition. This script was used to help diagnose various problems regarding diff pairs in Expedition. A diff_pairs.txt report is generated to the pcb\LogFiles directory (therefore available to FileViewer) and contain the information shown below for each diff pair: (a -1 indicates no value entered)

     

    (   38) FAST_IO1_DN0,FAST_IO1_DP0

     

               Delay Tolerance : -1
               Length Tolerance : 5
               Max Convergences Tolerance : -1
               Max Distance To Convergence : -1
               Max Separation Distance : -1

     

               FAST_IO1_DN0

     

                     Number of Opens : 0
                     NetClass : FAST_IO
                     NetClass Layers : 1, , 3, , , 6, , 8
                     NetClass Diff Pair Spacing : (Master) 6, 10, 10, 10, 10, 10, 10, 6
                     NetClass Diff Pair Spacing : (Minimum) 5, 10, 10, 10, 10, 10, 10, 5
                     MatchLengthGroup : 5
                     MatchLengthGroup Tolerance : 10
                     MatchLengthGroup Type : 1
                     Delay Formula :
                     Min TOF : -1
                     Max TOF : -1
                     Min Length : -1
                     Max Length : -1
                     Max Number of Vias : -1
                     Number of Traces in Net : 3
                     Total Length of Traces on Layer (8) with width of (6) : 79.09
                     Total Length of Traces on Layer (1) with width of (11) : 27.8388188976378
                     Total Length of Traces on Layer (6) with width of (5) : 3462.44913385827
                     Total Length of Net : 3569.37795275591
                     Total Vias on Net : 2

     

               FAST_IO1_DP0

     

                     Number of Opens : 0
                     NetClass : FAST_IO
                     NetClass Layers : 1, , 3, , , 6, , 8
                     NetClass Diff Pair Spacing : (Master) 6, 10, 10, 10, 10, 10, 10, 6
                     NetClass Diff Pair Spacing : (Minimum) 5, 10, 10, 10, 10, 10, 10, 5
                     MatchLengthGroup : 5
                     MatchLengthGroup Tolerance : 10
                     MatchLengthGroup Type : 1
                     Delay Formula :
                     Min TOF : -1
                     Max TOF : -1
                     Min Length : -1
                     Max Length : -1
                     Max Number of Vias : -1
                     Number of Traces in Net : 4
                     Total Length of Traces on Layer (6) with width of (5) : 3462.44913385827
                     Total Length of Traces on Layer (8) with width of (6) : 81.0826377952756
                     Total Length of Traces on Layer (8) with width of (7) : 4.57874015748031E-02
                     Total Length of Traces on Layer (1) with width of (11) : 27.8388188976378
                     Total Length of Net : 3571.41637795276
                     Total Vias on Net : 2

     

    Location of the zip file: http://communities.mentor.com/docs/DOC-1821

     

    Disclaimer

    Copyright 2010 Mentor Graphics Corporation. All Rights Reserved. Recipients who obtain this code directly from Mentor Graphics use it solely for internal purposes to serve as example Java or Java Script plugins. This code may not be used in a commercial distribution. Recipients may duplicate the code provided that all notices are fully reproduced with and remain in the code. No part of this code may be modified, reproduced, translated, used, distributed, disclosed or provided to third parties without the prior written consent of Mentor Graphics, except as expressly authorized above. THE CODE IS MADE AVAILABLE "AS IS" WITHOUT WARRANTY OR SUPPORT OF ANY KIND. MENTOR GRAPHICS OFFERS NO EXPRESS OR IMPLIED WARRANTIES AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTY OF NON-INFRINGEMENT. IN NO EVENT SHALL MENTOR GRAPHICS OR ITS LICENSORS BE LIABLE FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS) WHETHER BASED ON CONTRACT, TORT OR ANY OTHER LEGAL THEORY, EVEN IF MENTOR GRAPHICS OR ITS LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.