diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2023-04-18 21:12:16 +1000 |
---|---|---|
committer | myrtle <gatecat@ds0.me> | 2023-04-20 08:35:50 +0200 |
commit | 729757d55ebea66e8c7995b9c2e0089ab53e4700 (patch) | |
tree | 76db98a2ae0517c5a05eb43c604893ded6df88c8 | |
parent | fdc2769259903f791db6f9d86fb0fdf8cbbe9bb6 (diff) | |
download | nextpnr-729757d55ebea66e8c7995b9c2e0089ab53e4700.tar.gz nextpnr-729757d55ebea66e8c7995b9c2e0089ab53e4700.tar.bz2 nextpnr-729757d55ebea66e8c7995b9c2e0089ab53e4700.zip |
gowin: fix style
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
-rw-r--r-- | gowin/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/arch.cc b/gowin/arch.cc index cf2f7a85..a1230acf 100644 --- a/gowin/arch.cc +++ b/gowin/arch.cc @@ -1273,7 +1273,7 @@ WireId Arch::get_make_port_wire(const DatabasePOD *db, const BelsPOD *bel, int r int srccol = alias_src->src_col; IdString srcid = IdString(alias_src->src_id); wire = wireToGlobal(srcrow, srccol, db, srcid); - if (wires.count(wire) == 0) { + if (!wires.count(wire)) { addWire(wire, srcid, srccol, srcrow); } } |