aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/main.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-08 17:24:35 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-11 10:42:09 +0200
commit6cc6113d5a5e3a6463f3e3923efee613acc50579 (patch)
treef741114580f35fe6e59d72305c89e626084d8723 /ecp5/main.cc
parent863c22620b58d1043a32cdc22b23c954afcccc10 (diff)
downloadnextpnr-6cc6113d5a5e3a6463f3e3923efee613acc50579.tar.gz
nextpnr-6cc6113d5a5e3a6463f3e3923efee613acc50579.tar.bz2
nextpnr-6cc6113d5a5e3a6463f3e3923efee613acc50579.zip
ecp5: Link libtrellis library to ecp5 binary
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r--ecp5/main.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc
index c07e08de..c16e23bb 100644
--- a/ecp5/main.cc
+++ b/ecp5/main.cc
@@ -31,6 +31,9 @@
#include <boost/program_options.hpp>
#include <fstream>
#include <iostream>
+
+#include "Database.hpp"
+
#include "log.h"
#include "nextpnr.h"
#include "version.h"
@@ -99,6 +102,9 @@ int main(int argc, char *argv[])
"sha1 " GIT_COMMIT_HASH_STR ")\n";
return 1;
}
+
+ Trellis::load_database(TRELLIS_ROOT"/database");
+
ArchArgs args;
args.type = ArchArgs::LFE5U_25F;
args.package = "CABGA381";