Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4897

How to get all blocking layers touching a Pcell from inside Pcell code

$
0
0

Hi

I am writting a Pcell and want to avoid adding metal under routing blockages. The routing blockages are at the same hierarchy as the Pcell, and are not generated "inside" the pcell. I am having a hard time figuring out how to get the regions of the pcell that overlap any routing blockages. Here is how I am approaching the issue:

  1. cv = dbOpenCellViewByType( libName CellName ViewName "maskLayout" "r") ; Open the level that contains both the pcell and the blockage
  2. PGInst = dbFindAnyInstByName(cv PCELLNAME)
  3. dbLayerBlockageQuery(cv "M1" PGInst ~>bBox 0 0)
  4. Do some other stuff.

The issue is not sure how to get the name of the Pell from inside the Pcell code. Any ideas? Or maybe I should be approaching this a different way?

Cheers

Santiago


Viewing all articles
Browse latest Browse all 4897

Trending Articles