3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 22:23:23 +00:00

added option '-Dname[=definition]' to command 'read_verilog'

This commit is contained in:
Johann Glaser 2013-05-19 17:07:52 +02:00
parent fbadb54b9b
commit 10a195c0a1
3 changed files with 19 additions and 4 deletions

View file

@ -47,7 +47,7 @@ namespace VERILOG_FRONTEND
}
// the pre-processor
std::string frontend_verilog_preproc(FILE *f, std::string filename);
std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::map<std::string, std::string> pre_defines_map);
// the usual bison/flex stuff
extern int frontend_verilog_yydebug;