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:
parent
eab536a203
commit
1dcb683fcb
7 changed files with 13 additions and 9 deletions
|
@ -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 = "";
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue