diff options
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r-- | ecp5/main.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index caa28563..a6128d0f 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -45,7 +45,6 @@ #include "jsonparse.h" #include "pack.h" #include "place_sa.h" -#include "route.h" #include "timing.h" USING_NEXTPNR_NAMESPACE @@ -150,7 +149,7 @@ int main(int argc, char *argv[]) if (!place_design_sa(&ctx) && !ctx.force) log_error("Placing design failed.\n"); ctx.check(); - if (!route_design(&ctx) && !ctx.force) + if (!ctx.route() && !ctx.force) log_error("Routing design failed.\n"); std::string basecfg; |