mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-10 17:25:49 +00:00
driver: add --no-version to suppress writing Yosys version in command outputs
This commit is contained in:
parent
f60bbe64ac
commit
d7affb8821
14 changed files with 31 additions and 13 deletions
|
@ -291,7 +291,8 @@ struct JsonWriter
|
|||
design->sort();
|
||||
|
||||
f << stringf("{\n");
|
||||
f << stringf(" \"creator\": %s,\n", get_string(yosys_version_str).c_str());
|
||||
if (yosys_write_versions)
|
||||
f << stringf(" \"creator\": %s,\n", get_string(yosys_version_str).c_str());
|
||||
f << stringf(" \"modules\": {\n");
|
||||
vector<Module*> modules = use_selection ? design->selected_modules() : design->modules();
|
||||
bool first_module = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue