Continue to Site

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.

perl script to analyze verilog code

Status
Not open for further replies.

akshayjindal

Newbie level 3
Joined
Jul 20, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
delhi
Activity points
1,299
Hi All
Here is an interesting question:
"Given a combinational circuit, for each primary output, find the
number of primary inputs that this output depends on."


It is easy to do structual analysis for a small-size circuit. But for a
circuit with million gates, we need to find a effecient way.
Now assume a gate-level Verilog code for this circuit is given, I plan
to write a script (e.g., Perl) to scan this Verilog code, then for each
output, trace back to find the primary input on which it depends. But I
am new to both Perl and Verilog. :(
So could you please give me any suggestion or any script example for
references? or is there other way to address this problem effeceintly?


Thanks very much!
Fei
 

the Quine-McClusky algorithm may help.
 

thanks fr suggestion..
i need perl script fr verilog code...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top