diff options
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index ae5c59b2..445e81ba 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -151,6 +151,7 @@ int main(int argc, char *argv[]) Design design(chipArgs); init_python(argv[0]); + python_export_global("design", design); if (vm.count("test")) { @@ -232,7 +233,7 @@ int main(int argc, char *argv[]) parse_json_file(f, filename, &design); } - + if (vm.count("run")) { std::vector<std::string> files = vm["file"].as<std::vector<std::string>>(); |