Output SyntaxThe DRC Engine produces an output file summarizing the results. This page describes the syntax of that file so that a programmer can write a parser to generate reports based on this file. The syntax for each rule is slightly different based on what the rule has been designed to check. It also differs if no violations have been found or if for some reason the rule check failed.  | 
![]()  | 
Report SyntaxHeader The header consists of 5 lines as shown below: Date: 3/23/2016 12:4:57 date and time DRC Tool Version: v1.11 rcs 1.135 drc engine version Input File: D:\cad_data\unit_die_drc_example.gds full path to input file Structure: = structure to process Unit: um units for parameters Dashed Lines A series of consecutive dash characters should be treated as an end of section. this applies to both the header section and each of the DRC report sections. -------------------------------------------- DRC Reports After the header there are DRC reports for each of the rule sets that were defined in the rule deck. The first line in each of these reports will be [DRC #N] followed by the name that the user assigned. So in our example, the first rule deck entry was called RDL MIN SPACING. 
[DRC #1] RDL MIN SPACING                     DRC number and name assigned in the rule deck
Type: Spacing DRC                            DRC Type
Layers: 2:0-2:0                              Layer that was processed.
Spacing Rule: 19.000 um                      Rule parameter and value
Number of Errors: 1                          number of errors detected
Errors:                                      errors start here
    Xcoord     Ycoord   Measured             column headers
   613.866   -234.004     11.992             values
-------------------------------------------- consecutive dashes indicating end of section
Notes The Layers syntax, for some legacy reasons, repeats the layer value separated by a dash (-). GDSII layer description consists of the layer number separated from the datatype by a colon (:) 
[DRC #2] RDL ENCLOSING UBM                  DRC number and name assigned in the rule deck
Type: Enclosure DRC                         DRC Type
Parent Layers: 2:0-2:0                      Enclosing layer
Enclosed Layers: 3:0-3:0                    Enclosed layer
Enclosure Rule: 5.000 um                    Rule parameter and value
Number of Errors: 1                         number of errors detected
Errors:                                     errors start here
    Xcoord     Ycoord   Measured            column headers
   312.500      0.000     -1.000            values
------------------------------------------- consecutive dashes indicating end of section
Notes The Measured value is negative because the enclosed boundary actually leaks outside of the enclosing parent. 
[DRC #3] MIN LINE FOR RDL                  DRC number and name assigned in the rule deck         
Type: Minimum Line Width DRC               DRC Type
Layers: 2:0-2:0                            Layer to be checked
Minimum Line Width Rule: 19.000 um         Rule parameter and value
Number of Errors: 1                        number of errors detected
Errors:                                    errors start here
    Xcoord     Ycoord   Measured           column headers
 -1391.816   -200.000     13.999           values
-----------------------------------------  consecutive dashes indicating end of section 
[DRC #4] CHE VS RDL                        DRC number and name assigned in the rule deck
Type: Spacing and Enclosure DRC            Type of Check
Parent Layers: 2:0-2:0                     Parent (Enclosing) Layer
Enclosed Layers: 6:0-6:0                   Enclosed (Child) Layer
Spacing Rule: 8.000 um                     Rule parameter and value
Enclosure Rule: 8.000 um                   Rule parameter and value
Number of Errors: 3                        number of errors detected
Errors:                                    Errors to follow
    Xcoord     Ycoord   Measured           column headers
  -587.664   1102.883      4.671           x,y error
  -702.442    849.475      5.215           x,y error
 -1111.427   1137.856      7.906           x,y error
-----------------------------------------  consecutive dashes indicating end of section 
[DRC #5] VIA1 OPENING STATISTICS           DRC number and name assigned in the rule deck
Type: VIA1 Opening DRC                     Type of Check
Layers: 1-1                                Layer to be checked
Number of Openings: 48                     number of openings detected (frame is ignored)
Minimum Opening Size: 19.890 um            Opening parameter and value
Minimum Pitch: 50.000 um                   Pitch parameter and value
Minimum Size Openings:                     data to follow is opening for each one found
    Xcoord     Ycoord   Measured           column headers
 -1415.000      0.000     19.890           x,y and opening values
 -1400.000    595.000     19.890           there should be the same number of data lines  
 -1400.000    800.000     19.890
 -1395.000  -1200.000     19.890
.
.
. 
  1415.000    595.000     19.890
  1415.000    800.000     19.890
  1415.000    995.000     19.890
  1415.000   1200.000     19.890
Minimum Pitch:                             data to follow is locations of min pitch    
    Xcoord     Ycoord   Measured           column headers
 -1405.000   -225.000     50.000           x,y and min pitch values
 -1405.000   -175.000     50.000
  1405.000   -225.000     50.000
  1405.000   -175.000     50.000
------------------------------------------ consecutive dashes indicating end of section
Note to Programmer It would be helpful to the person parsing this test to know how many minimum pitch lines of data to expect. [DRC #6] VIA2 OPENING STATISTICS DRC number and name assigned in the rule deck Type: VIA2 Opening DRC Type of DRC Check Layers: 4-4 Layer to be checked Number of Openings: 49 Reports number of openings found Maximum Opening Size: 205.000 um Reports maximum opening size Maximum Opening Area: 32794.665 um^2 reports largest opening area NO ERRORS FOUND This test has no errors associated with it ------------------------------------------ consecutive dashes indicating end of section 
[DRC #7] RDL CAPTURE VIA2 PADSIZE          DRC number and name assigned in the rule deck
Type: Capture Padsize DRC                  Type of DRC Check
Capture Pad Layers: 2:0-2:0                Layer (parent) to be checked
Via Layers: 4-4                            Layer (child) to be checked
Number of non-truncated pads: 49           Reports number of non-truncated pads. 
Capture Padsize:                           description of data in report
    Xcoord     Ycoord   Measured           column headers
   400.000      0.000    216.350           x, y and measured opening dimension
  -800.000  -1200.000    223.982
  -800.000   1200.000    223.982
  -400.000  -1200.000    223.982
  -400.000   1200.000    223.982
.
.
.
 -1200.000    800.000    224.110
 -1200.000   1200.000    224.110
------------------------------------------ consecutive dashes indicating end of section
Note to Programmer: How are truncated pads reported?  | 
More Information | ||
| Rule Deck | Output Syntax | Example | 
| Program Operation | Download | Revision History | Price |