diff options
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 6d320996..7383e0e7 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -23,6 +23,8 @@ #include <cstring> #include "log.h" #include "nextpnr.h" +#include "placer1.h" +#include "router1.h" #include "util.h" NEXTPNR_NAMESPACE_BEGIN @@ -288,6 +290,18 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const // ----------------------------------------------------------------------- +bool Arch::place() +{ + return placer1(getCtx()); +} + +bool Arch::route() +{ + return router1(getCtx()); +} + +// ----------------------------------------------------------------------- + std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decalId) const { std::vector<GraphicElement> ret; |