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

Added support for include directories with the new '-I' argument of the

'read_verilog' command
This commit is contained in:
Johann Glaser 2013-08-20 15:48:16 +02:00
parent 6c4cbc03c2
commit a99c224157
3 changed files with 24 additions and 4 deletions

View file

@ -33,6 +33,7 @@
#include "frontends/ast/ast.h"
#include <stdio.h>
#include <stdint.h>
#include <list>
namespace VERILOG_FRONTEND
{
@ -47,7 +48,7 @@ namespace VERILOG_FRONTEND
}
// the pre-processor
std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::map<std::string, std::string> pre_defines_map);
std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::map<std::string, std::string> pre_defines_map, const std::list<std::string> include_dirs);
// the usual bison/flex stuff
extern int frontend_verilog_yydebug;