3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 19:05:52 +00:00

Implemented TCL support (only via -c option at the moment)

This commit is contained in:
Clifford Wolf 2013-03-28 12:26:17 +01:00
parent b9870a364e
commit 73fba5164f
5 changed files with 83 additions and 9 deletions

View file

@ -26,6 +26,12 @@
#include <vector>
#include <map>
#ifdef YOSYS_ENABLE_TCL
#include <tcl.h>
extern Tcl_Interp *yosys_tcl;
extern RTLIL::Design *yosys_tcl_design;
#endif
struct Pass
{
std::string pass_name, short_help;
@ -44,6 +50,7 @@ struct Pass
static void init_register();
static void done_register();
void register_tcl();
};
struct Frontend : Pass