diff options
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index b723c1fd..24897164 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -26,6 +26,7 @@ #include "pybindings.h" #include "version.h" #include "log.h" +#include "place.h" void svg_dump_el(const GraphicElement &el) { @@ -241,6 +242,7 @@ int main(int argc, char *argv[]) std::istream *f = new std::ifstream(filename); parse_json_file(f, filename, &design); + place_design(&design); } if (vm.count("run")) { @@ -250,9 +252,6 @@ int main(int argc, char *argv[]) execute_python_file(filename.c_str()); } - extern void place_design(Design *d); - place_design(&design); - if (vm.count("gui")) { QApplication a(argc, argv); |