diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-10-03 10:05:22 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-10-03 10:05:50 +0200 |
commit | eab9f4d6846eefb0bf791162705c7a559793da1c (patch) | |
tree | ff9d45b63ffe9a26ef291b69785042accee4c09a /src/ghdl.cc | |
parent | 09b916cff7b5daf9cc9e39f67156198f4fbf4836 (diff) | |
download | ghdl-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.cc | 5 |
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; |