diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-10-17 18:35:43 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-10-27 12:02:01 +0200 |
commit | 4c0db1160860e9917df1f8b9fb988d4174ed13c2 (patch) | |
tree | 6784ca6010589090bcdfa9b8b8c0e5ad2a9f1a03 /ice40/arch.h | |
parent | 7386004c60542d31ade829c1eae1f6086b8317fc (diff) | |
download | nextpnr-4c0db1160860e9917df1f8b9fb988d4174ed13c2.tar.gz nextpnr-4c0db1160860e9917df1f8b9fb988d4174ed13c2.tar.bz2 nextpnr-4c0db1160860e9917df1f8b9fb988d4174ed13c2.zip |
fix grid dimensions for ice40
Diffstat (limited to 'ice40/arch.h')
-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; } |