summaryrefslogtreecommitdiff
path: root/backends/spice/spice.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/spice/spice.cc
parenteab536a203cf542644fdf3a36eecb54599e684af (diff)
Write yosys version to output files
Diffstat (limited to 'backends/spice/spice.cc')
-rw-r--r--backends/spice/spice.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc
index e6e4ab4b..28a91714 100644
--- a/backends/spice/spice.cc
+++ b/backends/spice/spice.cc
@@ -172,10 +172,7 @@ struct SpiceBackend : public Backend {
}
extra_args(f, filename, args, argidx);
- fprintf(f, "\n");
- fprintf(f, "*************************************\n");
- fprintf(f, "* SPICE netlist, generated by Yosys *\n");
- fprintf(f, "*************************************\n");
+ fprintf(f, "* SPICE netlist generated by %s\n", yosys_version_str);
fprintf(f, "\n");
for (auto module_it : design->modules)