aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdl.cc
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-10-03 10:05:22 +0200
committerTristan Gingold <tgingold@free.fr>2021-10-03 10:05:50 +0200
commiteab9f4d6846eefb0bf791162705c7a559793da1c (patch)
treeff9d45b63ffe9a26ef291b69785042accee4c09a /src/ghdl.cc
parent09b916cff7b5daf9cc9e39f67156198f4fbf4836 (diff)
downloadghdl-yosys-plugin-eab9f4d6846eefb0bf791162705c7a559793da1c.tar.gz
ghdl-yosys-plugin-eab9f4d6846eefb0bf791162705c7a559793da1c.tar.bz2
ghdl-yosys-plugin-eab9f4d6846eefb0bf791162705c7a559793da1c.zip
ghdl.cc: display compile date and git hash
Diffstat (limited to 'src/ghdl.cc')
-rw-r--r--src/ghdl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ghdl.cc b/src/ghdl.cc
index 7b36042..3d5bfc4 100644
--- a/src/ghdl.cc
+++ b/src/ghdl.cc
@@ -1272,6 +1272,11 @@ struct GhdlPass : public Pass {
if (args.size() == 2 && args[1] == "--disp-config") {
ghdlcomp__disp_config();
+ log("yosys plugin compiled on " __DATE__ " " __TIME__
+#ifdef GHDL_VER_HASH
+ ", git hash:" GHDL_VER_HASH
+#endif
+ "\n");
}
else {
int cmd_argc = args.size() - 1;