FreePDK45:DRC

From NCSU EDA Wiki
Jump to: navigation, search
  • Introduction

Design Rule Checking verification (DRC) ensures that the physical design (the layout) meets the required design rules. The inputs to Calibre DRC are an SVRF rule file and a layout database. DRC outputs include a run transcript and a DRC Report. DRC errors can be highlighted in the layout viewer.

  • Setup

Calibre DRC can be executed at command line as well as in a interactive mode. The interactive mode is easy to use and is explained below.

To use Calibre DRC, you need to follow these steps in addition to those mentioned in Developer's Getting Started Guide . At the "Start Cadence Virtuoso" step you need to set the varaible MGC_HOME as follows

setenv MGC_HOME /afs/bp.ncsu.edu/dist/calibre20061/ 

and then set up the environment and start Cadence Virtuoso with Calibre integrated with it, using the following commands

add calibre
myadd pycell
myadd icoa
myadd myfp
icfb & 

In the CIW window, you should be able to see "Calibre Skill Interface" and some copyright information and that means the Calibre is loaded properly.

  • To run DRC

Open the layout on which you want to run DRC in Virtuoso Layout Editor.You should be able to see a menu option called Calibre Let the name of your layout be my_layout

Next, goto Calibre -> Run DRC

Calibre Interactive - DRC window pops up

You get an option for specifying a Runset File The runset file has details about the various settings you need to specify. If you want a specific set of defaults, it can be saved in a runset file and loaded the next time you start Calibre Interactive to save you the trouble of specifying all the settings once again. The runset file will be saved in the directory where you started ICFB, have a look at it.

Rules

Calibre -DRC Rules File - select the Calibre Rules file techfile/calibreDRC.rul Calibre - DRC Run Directory - select the directory from where you started ICFB

Inputs

select Hierarchical In the Layout tab Files : my_layout.calibre.gds Top Cell: my_layout These options may already be filled in by the tool, so you can leave them as-is. Format: select GDSII and select the option "Export from layout viewer" (This is very important)

Outputs

Under the DRC Results Database

These options may already be filled in by the tool, so you can leave them as-is. File: my_layout.drc.results Format: ASCII Select 'Start RVE after DRC finishes' Select 'Write DRC Summary Report File' File: my_layout.drc.summary

Run Control

Leave these controls as they are.

Then press Run DRC

Once DRC is completed, DRC report is opened automatically and RVE is also started.

To view DRC errors in the layout viewer, select 'Highlight All' from the 'Highlight' menu in the DRC-RVE window.