aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-07 12:40:31 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-07 12:40:31 +0200
commita5249da02d2a55d4b838dd8c29e159513dd71418 (patch)
treeb290c203607b8d05a4c10e0febde92c027890a3e /ice40
parente576f71838290ff12b98145fb02af84563fc03c1 (diff)
downloadnextpnr-a5249da02d2a55d4b838dd8c29e159513dd71418.tar.gz
nextpnr-a5249da02d2a55d4b838dd8c29e159513dd71418.tar.bz2
nextpnr-a5249da02d2a55d4b838dd8c29e159513dd71418.zip
Working on global Python design object
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40')
-rw-r--r--ice40/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 5d00fcc8..12c6b86c 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -123,6 +123,7 @@ int main(int argc, char *argv[])
Design design(chipArgs);
init_python(argv[0]);
+ python_export_global("design", design);
if (vm.count("test"))
{