1
0
mirror of synced 2026-04-09 15:57:45 +00:00

Merge pull request #3443 from YosysHQ/micko/resetall_undefineall

resetall does not affect text defines, but undefineall does
This commit is contained in:
Miodrag Milanović
2022-08-10 14:37:36 +02:00
committed by GitHub

View File

@@ -961,6 +961,11 @@ frontend_verilog_preproc(std::istream &f,
}
if (tok == "`resetall") {
default_nettype_wire = true;
continue;
}
if (tok == "`undefineall" && sv_mode) {
defines.clear();
global_defines_cache.clear();
continue;