From 0dbfa4662f74b89c5f3f8c4fa5ebbef6a89d532b Mon Sep 17 00:00:00 2001 From: ZipCPU Date: Thu, 7 Jun 2018 07:52:05 -0400 Subject: Preliminary placer changes to main --- ice40/main.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ice40') diff --git a/ice40/main.cc b/ice40/main.cc index d47076fd..b723c1fd 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -25,6 +25,7 @@ #include "mainwindow.h" #include "pybindings.h" #include "version.h" +#include "log.h" void svg_dump_el(const GraphicElement &el) { @@ -52,6 +53,8 @@ int main(int argc, char *argv[]) int rc = 0; std::string str; + log_files.push_back(stdout); + po::options_description options("Allowed options"); options.add_options()("help,h", "show help"); options.add_options()("test", "just a check"); @@ -247,6 +250,10 @@ 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); MainWindow w; -- cgit v1.2.3