diff options
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index 24897164..68089ffb 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -22,6 +22,7 @@ #include <iostream> #include "design.h" #include "jsonparse.h" +#include "log.h" #include "mainwindow.h" #include "pybindings.h" #include "version.h" @@ -162,6 +163,7 @@ int main(int argc, char *argv[]) Design design(chipArgs); init_python(argv[0]); python_export_global("design", design); + python_export_global("chip", design.chip); if (vm.count("test")) { int bel_count = 0, wire_count = 0, pip_count = 0; |