Quantcast
Channel: Cadence Digital Implementation Forum
Viewing all articles
Browse latest Browse all 1479

Genus - TCL Command to get hierarchical parent of cell?

$
0
0

Hi all,

I need to write a script that is able to find particular primitives and provide the path to the parent cell.

Let's say I'm interested in finding all blocks that have a "u_rom" cell within them.

# This returns all roms in the design

set all_roms_in_design [get_cells -hierarchical -filter {name=~*u_rom*}]
This might return a bunch of paths that look something like this:

u_dut.u_block1.u_block1_2.u_rom

But I am interested in the cell u_dut.u_block1.u_block1_2

How can I go about getting the parent cell given the child cell?


Viewing all articles
Browse latest Browse all 1479

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>