aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/register.h
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 /kernel/register.h
parenteab536a203cf542644fdf3a36eecb54599e684af (diff)
downloadyosys-1dcb683fcb7d67b045b7600fdd28ec354b78632b.tar.gz
yosys-1dcb683fcb7d67b045b7600fdd28ec354b78632b.tar.bz2
yosys-1dcb683fcb7d67b045b7600fdd28ec354b78632b.zip
Write yosys version to output files
Diffstat (limited to 'kernel/register.h')
-rw-r--r--kernel/register.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/register.h b/kernel/register.h
index f66cbfd30..4dd86cf3d 100644
--- a/kernel/register.h
+++ b/kernel/register.h
@@ -31,6 +31,9 @@
extern Tcl_Interp *yosys_get_tcl_interp();
#endif
+// from kernel/version_*.o (cc source generated from Makefile)
+extern const char *yosys_version_str;
+
// implemented in driver.cc
extern RTLIL::Design *yosys_get_design();
std::string rewrite_yosys_exe(std::string exe);