summaryrefslogtreecommitdiff
path: root/backends/blif/blif.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-03 21:41:39 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-03 21:41:39 +0100
commit1dcb683fcb7d67b045b7600fdd28ec354b78632b (patch)
tree3d8b302b2daf8e5e3520d028e2ef0be84d923707 /backends/blif/blif.cc
parenteab536a203cf542644fdf3a36eecb54599e684af (diff)
Write yosys version to output files
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r--backends/blif/blif.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc
index e8909b91..9379fce5 100644
--- a/backends/blif/blif.cc
+++ b/backends/blif/blif.cc
@@ -293,6 +293,8 @@ struct BlifBackend : public Backend {
}
extra_args(f, filename, args, argidx);
+ fprintf(f, "# Generated by %s\n", yosys_version_str);
+
std::vector<RTLIL::Module*> mod_list;
for (auto module_it : design->modules)