From 6cc6113d5a5e3a6463f3e3923efee613acc50579 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sun, 8 Jul 2018 17:24:35 +0200 Subject: ecp5: Link libtrellis library to ecp5 binary Signed-off-by: David Shah --- ecp5/main.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ecp5/main.cc') 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 #include #include + +#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"; -- cgit v1.2.3