diff options
-rw-r--r-- | ice40/arch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 27d5db9f..bdcee3b8 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -417,8 +417,8 @@ struct Arch : BaseCtx // ------------------------------------------------- - int getGridDimX() const { return 34; } - int getGridDimY() const { return 34; } + int getGridDimX() const { return chip_info->width; } + int getGridDimY() const { return chip_info->height; } int getTileBelDimZ(int, int) const { return 8; } int getTilePipDimZ(int, int) const { return 1; } |