Difference between revisions of "Remove Verific data structures"

From Verific Design Automation FAQ
Jump to: navigation, search
Line 9: Line 9:
 
     vhdl_file::Reset();
 
     vhdl_file::Reset();
  
To remove synlib structures:
+
To remove synlib parsetree:
  
 
     synlib_file::Reset();
 
     synlib_file::Reset();

Revision as of 09:35, 3 May 2021

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

To remove Verilog parsetree:

   veri_file::Reset();

To remove VHDL parsetree:

   vhdl_file::Reset();

To remove synlib parsetree:

   synlib_file::Reset();

To remove hierarchy tree:

   hier_tree::DeleteHierarchicalTree() ;

To remove UPF data structures:

   upf_file::DeleteAll();

To remove the netlist database:

   Libset::Reset();

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

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

To remove message type settings:

   Message::Reset();

To reset run-time flags:

   RuntimeFlags::DeleteAllFlags();