Project Compiler Violations Reference

Old Content - visit altium.com/documentation

This reference describes each of the possible electrical and drafting violations that can exist in source documents when compiling a project.

The process of compiling is integral to producing a valid netlist for a project. Connectivity awareness in your schematic diagram can be verified during compilation according to rules that are set up in your Project Options (C, O) in the Error Reporting and Connection Matrix tabs. You can customize reporting modes for violations in the Error Reporting and Connection Matrix tabs. Choose from:




Error Reporting

The Error Reporting tab is used to configure tests that check for a broad range of potential drafting-type design errors. 

The Error Reporting tab in Project Options, click to select the required Report Mode for each Violation Type.

To change the Report Mode for a violation in the Error Reporting tab, click on the current Report Mode and select an alternative from the dropdown.

Compiler violations are grouped into the following categories:

Connection Matrix

The Connection Matrix tab is used to configure tests that check for a broad range of potential wiring errors, such as an output pin connected to another output pin. 

To change the Report Mode for a violation in the Connection Matrix tab, click on the colored square where the row and column of the two conditions intersect. Each time you click, the Report Mode will move to the next report level. When you click on the Report Mode, text is displayed at the bottom of the window to describe the connectivity violation and the Report Mode for the selection.

Selecting the Report Mode in the Connection Matrix Tab

Use the Set to Installation Defaults button on either the Error Reporting or Connection Matrix tabs to reset your Reporting Modes back to their default value on installation.

Compiler Preferences

Note that the Violations listed in the Error Reporting tab correspond to the compiler hints you see in your Schematic Documents when a violation occurs.

To customize the visibility of compiler hints and the properties of the wavy underline for errors and warnings:

  • Select the DXP » Preferences command which brings up the Preferences dialog
  • Navigate to the Compiler tab under the Schematic folder
  • Choose to display Fatal Errors , Errors and Warnings by enabling the Display checkbox
  • If you choose to display the errors and/or warnings, a wavy underline will be displayed under your offending object in the color specified in your preferences. You can customize the color of the wavy underline by clicking on the respective Color field and selecting a new color in the Choose Color dialog
  • Enable the Show Hints checkbox to display all hints in your schematic, including compiler hints which correspond to the violations listed in the Error Reporting tab. Run your mouse over the offending object (denoted by a colored wavy underline) to see the compiler hints . Note that compiler hints are only displayed if the Display field is also enabled for each corresponding error or warning.

The Compiler tab in the Preferences dialog

See Also

 

You are reporting an issue with the following selected text and/or image within the active document: