aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index d0becdd6..c65013eb 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -161,6 +161,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;