mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Remember global declarations and defines accross read_verilog calls
This commit is contained in:
parent
a2206180d6
commit
a926a6afc2
6 changed files with 23 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue