mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-09 15:47:31 +00:00
Merge 91ff55a50c into 25f2a88770
This commit is contained in:
commit
1d89b7902e
16 changed files with 1003 additions and 5 deletions
|
|
@ -188,7 +188,7 @@ extern char yosys_path[PATH_MAX];
|
|||
#endif
|
||||
#ifdef YOSYS_ENABLE_TCL
|
||||
namespace Yosys {
|
||||
extern int yosys_tcl_iterp_init(Tcl_Interp *interp);
|
||||
extern int yosys_tcl_interp_init(Tcl_Interp *interp);
|
||||
extern void yosys_tcl_activate_repl();
|
||||
};
|
||||
#endif
|
||||
|
|
@ -610,7 +610,7 @@ int main(int argc, char **argv)
|
|||
if (run_tcl_shell) {
|
||||
#ifdef YOSYS_ENABLE_TCL
|
||||
yosys_tcl_activate_repl();
|
||||
Tcl_Main(argc, argv, yosys_tcl_iterp_init);
|
||||
Tcl_Main(argc, argv, yosys_tcl_interp_init);
|
||||
#else
|
||||
log_error("Can't exectue TCL shell: this version of yosys is not built with TCL support enabled.\n");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue