Remember global declarations and defines accross read_verilog calls
[yosys.git] / frontends / verilog / verilog_frontend.h
index 606ec20a2529d22d2b3d9b9246479e4391db9c5b..16edc79855b34ea73c8a7f4c79d650c7b3b21783 100644 (file)
@@ -68,7 +68,8 @@ namespace VERILOG_FRONTEND
 }
 
 // the pre-processor
-std::string frontend_verilog_preproc(std::istream &f, std::string filename, const std::map<std::string, std::string> pre_defines_map, const std::list<std::string> include_dirs);
+std::string frontend_verilog_preproc(std::istream &f, std::string filename, const std::map<std::string, std::string> &pre_defines_map,
+               dict<std::string, std::pair<std::string, bool>> &global_defines_cache, const std::list<std::string> &include_dirs);
 
 YOSYS_NAMESPACE_END