Altera_Forum
Honored Contributor
16 years agoSingle Consolidated NetList
I have a number of verilog netlists (different files)(generally large in size >100MB),
Now I have to generate a single consolidated netlist (a single file), after removing common modules. (i.e module having same names.). I mean the modules having same names should come only once. I tried to create a list of modules in each file. Then from them I created a final list after removing duplicates and also the list has information from which file the particular module has to be picked. Now I start processing each Input verilog netlist(file) and copy the module(line by line) if it is in my list into a new FILE. Similarly I process for all input files. This process gives me the correct output, however it is very slow and takes huge time in case netlist size reaches 500MB and around 10 such netlists are there. Is there any fast method for this. I have done this in PERL , and have use PERL::tie for reading the files. Please ask if I have been not clear. Thanks Rahul Gupta India