Parent page: Schematic Objects
A compile mask is a design directive. It is used to effectively hide the area of the design it contains from the Compiler, allowing you to manually prevent error checking for circuitry that may not yet be complete and you know will generated compile errors. This can prove very useful if you need to compile the active document or project to check the integrity of the design in other specific areas, but do not want the clutter of compiler-generated messages associated with unfinished portions of the design.
Compile masks are available for placement in the Schematic Editor only, by choosing the Place » Directives » Compile Mask command, from the main menus.
After launching the command, the cursor will change to a cross-hair and you will enter compile mask placement mode. Placement is made by performing the following sequence of actions:
This method of editing allows you to select a placed compile mask object directly in the workspace and change its size, shape or location, graphically.
A compile mask can be displayed in either expanded (full frame) or collapsed (small triangle) modes. These modes correspond to the mask being enabled and disabled respectively. Toggle the display mode by clicking on the top-left corner of a placed compile mask.
When a fully expanded compile mask object is selected, the following editing handles are available:
The size and shape of a compile mask cannot be changed graphically when it is in collapsed mode, only its location/orientation. As such, editing handles are not available when a collapsed compile mask object is selected:
The following methods of non-graphical editing are available:
Dialog page: Compile Mask
This method of editing uses the following dialog to modify the properties of a compile mask object.
The Compile Mask dialog can be accessed prior to entering placement mode, from the Schematic – Default Primitives page of the Preferences dialog. This allows the default properties for the compile mask object to be changed, which will be applied when placing subsequent compile masks.
During placement, the dialog can be accessed by pressing the Tab key.
After placement, the dialog can be accessed in one of the following ways:
The SCH Inspector panel enables the designer to interrogate and edit the properties of one or more design objects in the active document. Used in conjunction with appropriate filtering - by using the SCH Filter panel, or the Find Similar Objects dialog - the panel can be used to make changes to multiple objects of the same kind, from one convenient location.
The SCH List panel allows the designer to display design objects from one or more documents in tabular format, enabling quick inspection and modification of object attributes. Used in conjunction with appropriate filtering - by using the SCH Filter panel, or the Find Similar Objects dialog - it enables the display of just those objects falling under the scope of the active filter – allowing the designer to target and edit multiple design objects with greater accuracy and efficiency.