Difference between revisions of "Remove Verific data structures"

From Verific Design Automation FAQ
Jump to: navigation, search
(Created page with "'''Q: How do I remove all Verific data structures in memory?''' To remove Verilog parsetree: veri_file::ResetParser(); To remove VHDL parsetree: vhdl_file::ResetPa...")
 
m
Line 24: Line 24:
  
 
     delete Libset::Global();
 
     delete Libset::Global();
 +
or
 +
    Libset::Reset();
  
 
To remove linefile data (make sure that you've removed all parsetrees and the netlist database):
 
To remove linefile data (make sure that you've removed all parsetrees and the netlist database):

Revision as of 10:41, 28 July 2016

Q: How do I remove all Verific data structures in memory?

To remove Verilog parsetree:

   veri_file::ResetParser();

To remove VHDL parsetree:

   vhdl_file::ResetParser();

To remove synlib parsetree:

   synlib_file::DeleteAllLibraries();

To remove hierarchy tree:

   hier_tree::DeleteHierarchicalTree() ;

To remove UPF data structures, use:

   upf_file::DeleteAll();

To remove the netlist database:

   delete Libset::Global();

or

   Libset::Reset();

To remove linefile data (make sure that you've removed all parsetrees and the netlist database):

   LineFile::DeleteAllLineFiles();
   LineFile::ResetFileIdMaps();