• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Digital Implementation
  3. Genus - TCL Command to get hierarchical parent of cell?

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 91
  • Views 1473
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Genus - TCL Command to get hierarchical parent of cell?

aahmad297
aahmad297 over 1 year ago

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?

  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information