mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-10 09:15:49 +00:00
driver: allow --no-version still write things like Generated by Yosys
This commit is contained in:
parent
d7affb8821
commit
90a2c92370
21 changed files with 36 additions and 40 deletions
|
@ -2596,8 +2596,7 @@ struct VerilogBackend : public Backend {
|
|||
|
||||
design->sort();
|
||||
|
||||
if (yosys_write_versions)
|
||||
*f << stringf("/* Generated by %s */\n", yosys_version_str);
|
||||
*f << stringf("/* Generated by %s */\n", yosys_maybe_version());
|
||||
|
||||
for (auto module : design->modules()) {
|
||||
if (module->get_blackbox_attribute() != blackboxes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue