3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-10 09:48:06 +00:00

driver: add --no-private-id-locs and NEWER_ID

This commit is contained in:
Emil J. Tywoniak 2025-09-16 17:41:55 +02:00
parent 85bcdee232
commit e4d4de1020
3 changed files with 29 additions and 1 deletions

View file

@ -292,6 +292,7 @@ int main(int argc, char **argv)
cxxopts::value<std::vector<std::string>>(), "<feature>")
("g,debug", "globally enable debug log messages")
("perffile", "write a JSON performance log to <perffile>", cxxopts::value<std::string>(), "<perffile>")
("no-private-id-locs", "turn off putting source file locations into object IDs")
;
options.parse_positional({"infile"});
@ -436,6 +437,7 @@ int main(int argc, char **argv)
log_experimentals_ignored.insert(ignores.begin(), ignores.end());
}
if (result.count("perffile")) perffile = result["perffile"].as<std::string>();
if (result.count("no-private-id-locs")) yosys_private_id_locs = false;
if (result.count("infile")) {
frontend_files = result["infile"].as<std::vector<std::string>>();
}