3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-30 12:25:52 +00:00

Define SYNTH and OVL_SVA by default

This commit is contained in:
Akash Levy 2024-05-23 21:05:57 -07:00
parent 4e39064b88
commit 66eabb1d2c

View file

@ -3392,8 +3392,12 @@ struct VerificPass : public Pass {
const char* arg = args[argidx].c_str();
// Define macros
hdl_file_sort::DefineMacro("SYNTH");
hdl_file_sort::DefineMacro("SYNTHESIS");
hdl_file_sort::DefineMacro("OVL_SVA");
veri_file::DefineMacro("SYNTH");
veri_file::DefineMacro("SYNTHESIS");
veri_file::DefineMacro("OVL_SVA");
// Ignore translate_off statements
hdl_file_sort::SetIgnoreTranslateOff(0);