aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/main.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-21 10:57:48 +0100
committergatecat <gatecat@ds0.me>2021-07-21 10:57:48 +0100
commit86a91ccf1bc9cdf24fc007782334ea129712a9c8 (patch)
treeae365f8ad4a436ab990b35667f891aee0cd0b90e /gowin/main.cc
parent1a5bb7b8abdf3eab38223b108c1a77c9a6381e79 (diff)
downloadnextpnr-86a91ccf1bc9cdf24fc007782334ea129712a9c8.tar.gz
nextpnr-86a91ccf1bc9cdf24fc007782334ea129712a9c8.tar.bz2
nextpnr-86a91ccf1bc9cdf24fc007782334ea129712a9c8.zip
clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'gowin/main.cc')
-rw-r--r--gowin/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/main.cc b/gowin/main.cc
index 1d40bdc4..a56cc8e8 100644
--- a/gowin/main.cc
+++ b/gowin/main.cc
@@ -67,7 +67,7 @@ std::unique_ptr<Context> GowinCommandHandler::createContext(dict<std::string, Pr
// GW1N and GW1NR variants share the same database.
// Most Gowin devices are a System in Package with some SDRAM wirebonded to a GPIO bank.
// However, it appears that the S series with embedded ARM core are unique silicon.
- if(match[1].str() == "S") {
+ if (match[1].str() == "S") {
snprintf(buf, 36, "GW1NS-%s", match[3].str().c_str());
} else {
snprintf(buf, 36, "GW1N-%s", match[3].str().c_str());