3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Write yosys version to output files

This commit is contained in:
Clifford Wolf 2013-11-03 21:41:39 +01:00
parent eab536a203
commit 1dcb683fcb
7 changed files with 13 additions and 9 deletions

View file

@ -31,9 +31,6 @@
#include "kernel/register.h"
#include "kernel/log.h"
// from kernel/version_*.o (cc source generated from Makefile)
extern const char *yosys_version_str;
bool fgetline(FILE *f, std::string &buffer)
{
buffer = "";

View file

@ -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);