aboutsummaryrefslogtreecommitdiffstats
path: root/gowin
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-12-26 07:39:18 +0000
committerGitHub <noreply@github.com>2021-12-26 07:39:18 +0000
commit4dbf1c1ca44afd044c532c322e44a28db36a2870 (patch)
treeabe9d3587957c94c662213a366fb1e59f460da1f /gowin
parent643b6971780adf8a6c5623851d9fff9f6a413113 (diff)
parente6b787954216ec220698bf7a6264f19bb6102d73 (diff)
downloadnextpnr-4dbf1c1ca44afd044c532c322e44a28db36a2870.tar.gz
nextpnr-4dbf1c1ca44afd044c532c322e44a28db36a2870.tar.bz2
nextpnr-4dbf1c1ca44afd044c532c322e44a28db36a2870.zip
Merge pull request #888 from yrabbit/dim-xy
gowin: Initializing the grid dimensions
Diffstat (limited to 'gowin')
-rw-r--r--gowin/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/arch.h b/gowin/arch.h
index 931a0aa1..9f969f54 100644
--- a/gowin/arch.h
+++ b/gowin/arch.h
@@ -298,7 +298,7 @@ struct Arch : BaseArch<ArchRanges>
dict<DecalId, std::vector<GraphicElement>> decal_graphics;
- int gridDimX, gridDimY;
+ int gridDimX = 0, gridDimY = 0;
std::vector<std::vector<int>> tileBelDimZ;
std::vector<std::vector<int>> tilePipDimZ;