3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-12 02:04:44 +00:00

driver: add --no-version to suppress writing Yosys version in command outputs

This commit is contained in:
Emil J. Tywoniak 2025-05-05 13:12:08 +02:00
parent f60bbe64ac
commit d7affb8821
14 changed files with 31 additions and 13 deletions

View file

@ -231,7 +231,9 @@ struct EdifBackend : public Backend {
*f << stringf(" (edifVersion 2 0 0)\n");
*f << stringf(" (edifLevel 0)\n");
*f << stringf(" (keywordMap (keywordLevel 0))\n");
*f << stringf(" (comment \"Generated by %s\")\n", yosys_version_str);
if (yosys_write_versions)
*f << stringf(" (comment \"Generated by %s\")\n", yosys_version_str);
*f << stringf(" (external LIB\n");
*f << stringf(" (edifLevel 0)\n");