diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-03-28 12:26:17 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-03-28 12:26:17 +0100 |
commit | 73fba5164ffce53c766cc82dc0825f23baf996d3 (patch) | |
tree | d437845c3ff88ecbc1a13c18fc6bbbe501678c01 /kernel/register.h | |
parent | b9870a364e35d8159a8bcc8c535a2aa971e78af9 (diff) | |
download | yosys-73fba5164ffce53c766cc82dc0825f23baf996d3.tar.gz yosys-73fba5164ffce53c766cc82dc0825f23baf996d3.tar.bz2 yosys-73fba5164ffce53c766cc82dc0825f23baf996d3.zip |
Implemented TCL support (only via -c option at the moment)
Diffstat (limited to 'kernel/register.h')
-rw-r--r-- | kernel/register.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/register.h b/kernel/register.h index a817d8c64..4e3cc5c1e 100644 --- a/kernel/register.h +++ b/kernel/register.h @@ -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 |