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

Only initialize TCL interpreter when needed

This commit is contained in:
Clifford Wolf 2013-05-23 12:56:23 +02:00
parent 375f83c5ec
commit cbe423a1fe
3 changed files with 50 additions and 39 deletions

View file

@ -27,11 +27,6 @@
using namespace REGISTER_INTERN;
#define MAX_REG_COUNT 1000
#ifdef YOSYS_ENABLE_TCL
Tcl_Interp *yosys_tcl = NULL;
RTLIL::Design *yosys_tcl_design = NULL;
#endif
namespace REGISTER_INTERN
{
int raw_register_count = 0;