diff options
-rw-r--r-- | ecp5/arch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index 92240719..f53817fd 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -388,7 +388,12 @@ struct Arch : BaseCtx IdString portPinToId(PortPin type) const; PortPin portPinFromId(IdString id) const; + // ------------------------------------------------- + int getGridDimX() const { return chip_info->width; }; + int getGridDimY() const { return chip_info->height; }; + int getTileDimZ(int,int) const { return 4; }; + // ------------------------------------------------- BelId getBelByName(IdString name) const; |