mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-20 10:10:23 +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
|
@ -797,7 +797,7 @@ struct SmvBackend : public Backend {
|
|||
if (module == nullptr)
|
||||
log_error("Module '%s' not found.\n", stmt[1].c_str());
|
||||
|
||||
*f << stringf("-- SMV description generated by %s\n", yosys_version_str);
|
||||
*f << stringf("-- SMV description generated by %s\n", yosys_maybe_version());
|
||||
|
||||
log("Creating SMV representation of module %s.\n", log_id(module));
|
||||
SmvWorker worker(module, verbose, *f);
|
||||
|
@ -816,7 +816,7 @@ struct SmvBackend : public Backend {
|
|||
|
||||
if (!modules.empty())
|
||||
{
|
||||
*f << stringf("-- SMV description generated by %s\n", yosys_version_str);
|
||||
*f << stringf("-- SMV description generated by %s\n", yosys_maybe_version());
|
||||
|
||||
for (auto module : modules) {
|
||||
log("Creating SMV representation of module %s.\n", log_id(module));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue