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:
- cv = dbOpenCellViewByType( libName CellName ViewName "maskLayout" "r") ; Open the level that contains both the pcell and the blockage
- PGInst = dbFindAnyInstByName(cv PCELLNAME)
- dbLayerBlockageQuery(cv "M1" PGInst ~>bBox 0 0)
- 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