aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorZipCPU <dgisselq@ieee.org>2018-06-07 07:52:05 -0400
committerZipCPU <dgisselq@ieee.org>2018-06-07 07:52:05 -0400
commit0dbfa4662f74b89c5f3f8c4fa5ebbef6a89d532b (patch)
treecdc514c8acc6b0fcbc6a5dfc9f9492a75e6c4643 /ice40
parent1ed5c641c16bffabe96ffd2ef8499dd3ae740050 (diff)
downloadnextpnr-0dbfa4662f74b89c5f3f8c4fa5ebbef6a89d532b.tar.gz
nextpnr-0dbfa4662f74b89c5f3f8c4fa5ebbef6a89d532b.tar.bz2
nextpnr-0dbfa4662f74b89c5f3f8c4fa5ebbef6a89d532b.zip
Preliminary placer changes to main
Diffstat (limited to 'ice40')
-rw-r--r--ice40/main.cc7
1 files changed, 7 insertions, 0 deletions
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;