aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorZipCPU <dgisselq@ieee.org>2018-06-07 09:49:21 -0400
committerZipCPU <dgisselq@ieee.org>2018-06-07 09:49:21 -0400
commitc352f6536b8f9eb4ad8d108e692a149348284723 (patch)
tree51a425e31e379f998ac07a4fdc1416fb401ee73b /ice40
parentf32b9622d5c61610f6027f6544ab9683cd57282b (diff)
downloadnextpnr-c352f6536b8f9eb4ad8d108e692a149348284723.tar.gz
nextpnr-c352f6536b8f9eb4ad8d108e692a149348284723.tar.bz2
nextpnr-c352f6536b8f9eb4ad8d108e692a149348284723.zip
Moved placer definitions to place.h, main automatically runs placer now
Diffstat (limited to 'ice40')
-rw-r--r--ice40/main.cc5
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);