- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 IndiaLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- 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 --- Quote End --- Hi, I'm not sure that this will work in all cases. If we assume that your synthesis tool optimized over module boundaries, you can not be sure that e.g. the interface of the "common" modules are still the same in the different netlists. I would unify all modules in each netlist with e.g an extension . Kind regards GPK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The unification has already been done in case the interface is different for similar module names.
My problem is to reduce run-time for copying large net lists in a single file.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page