002_and_1 : AND Operation Inside One Layer with Parameter of Overlapping
Minimum Required Version
: Expert 4.14.0.R, Guardian 4.14.0.R
This example demonstrates how a Boolean
function operates on two or more overlapping layers of the same layer. The
logical operator is typically used in Guardian DRC or Guardian LVS to generate additional (derived) layers that will be used in other operations. For example, transistor gate regions are not drawn, but can be created using a simple
AND operation (see example and_ex01).
1. Preliminary steps
To run this example, open a Guardian DRC session and choose
to load the project
. Then in the Open Cell(s) form that pops up, select
2. Boolean AND using a range modifier
All DRC foundry rule files require layers to be manipulated in order to perform various checks. Therefore, rule developers need a method to create or derive new and temporary layers. The
operator can be used when developers need to generate a new shape when multiple layers overlap. A simple
function returns the union between two layers. If more than two layers are needed to form the shape, a range modifier is needed.
provided in the
project is based on the
illustration shown in Figure 2-19 of the Guardian User Manual. Additional shapes were added to create a more robust example.
illustrates how to use the
operator with a range modifier to generate new shapes when two or more polygons intersect. The example uses the ACTIVE layer to create a new layer called "and_23" whenever two or three ACTIVE shapes overlap.
3. Experimenting with Boolean AND function
Once all the example files have been downloaded and the preliminary steps described in section 1.0 are completed, complete the following steps:
Verification->DRC->DRC Script panel
In the new window, choose
- In the same window, choose
Setup->Current DRC script run preferences
... and set the options as shown in
- Accept the changes and press
- To inspect the errors, choose
from the Guardian DRC window. Select the recent DRC results, and press the
button located at the bottom of the window.
to display the error in the layout, as shown in
Notes: Text was added to identify the number of overlapping shapes in the various locations. In the case where four shapes overlap, the AND operator only generates a region where two and three shapes intersected because the range modifier specifies "2:3". Therefore, a hole was generated where the fourth layer intersected with the other shapes.
- To unload the error choose
To learn more about Guardian DRC, the different commands and their syntax, as well as the different setup options, see the Guardian DRC user manual "guardian_users1.pdf" located in lib/expert/4.14.0.R/docs/ in your installation area.