1
0
mirror of synced 2026-01-29 13:31:13 +00:00

Define YOSYS and SYNTHESIS in preproc

This commit is contained in:
Clifford Wolf
2015-01-02 17:11:54 +01:00
parent 474831643c
commit 1bd67d792e

View File

@@ -221,7 +221,8 @@ std::string frontend_verilog_preproc(std::istream &f, std::string filename, cons
input_buffer_charp = 0;
input_file(f, filename);
defines_map["__YOSYS__"] = "1";
defines_map["YOSYS"] = "1";
defines_map["SYNTHESIS"] = "1";
while (!input_buffer.empty())
{