extraction of module hierarchy in a given netlist

Status
Not open for further replies.

rithvej

Newbie
Joined
Sep 13, 2021
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
hi all. how to write a script to print module hierarchy in a given netlist using Perl. please help.
thanks in advance
 

if the netlist is flat, this cannot be done.
if the netlist is hierarchical, all you have to do is to look for the keyword "module", find all modules, then find all instances of modules and build a tree like representation. It's not rocket science.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…