( ESNUG 287 Item 13 ) --------------------------------------------- [4/30/98]

From: Will Leavitt <leavitt@giga-net.com>
Subject: How Can I Map From A Hierarchical Path To A Design Name?

John,

I have a uniquified, hierarchical design.  I would like to start with
a path to a cell

  "h2u1/h3u4/lh_out_reg"

and figure out which design it is in so I can change my current_design
to it.  Conceptually, I want to

  cd "h2u1/h3u4".

Is there a simple way to go back and forth between paths and design
names?  I have tried the current_instance command, but I really need
to cd between designs, not instances.  I want to take the path of a
gate or a net, cd to the design containing it, then run a script that
adds and deletes nets and cells.  I can only do these commands in the
design itself.

  - Will Leavitt
    GigaNET, Inc.                           Concord, MASS



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)