diff options
Diffstat (limited to 'generic/arch.cc')
-rw-r--r-- | generic/arch.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index b3854401..b82d8ce6 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -19,6 +19,7 @@ #include <math.h> #include "nextpnr.h" +#include "router1.h" NEXTPNR_NAMESPACE_BEGIN @@ -315,6 +316,14 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const // --------------------------------------------------------------- +bool Arch::route() +{ + return router1(getCtx()); +} + +// --------------------------------------------------------------- + + const std::vector<GraphicElement> &Arch::getDecalGraphics(DecalId decal) const { return decal_graphics.at(decal); } DecalXY Arch::getFrameDecal() const { return frame_decalxy; } |