Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

extraction of module hierarchy in a given netlist

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
 

ThisIsNotSam

Advanced Member level 5
Joined
Apr 6, 2016
Messages
2,178
Helped
382
Reputation
764
Reaction score
396
Trophy points
83
Activity points
11,128
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.
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top