mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-12 07:26:39 +00:00
sdc: add initial stubbed demo
This commit is contained in:
parent
11f2348246
commit
b7dcdec745
3 changed files with 93 additions and 5 deletions
|
@ -180,7 +180,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
|
||||
|
@ -602,7 +602,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