aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gowin/gfx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/gfx.cc b/gowin/gfx.cc
index 048ae62e..5abb1399 100644
--- a/gowin/gfx.cc
+++ b/gowin/gfx.cc
@@ -4971,7 +4971,7 @@ void gfxSetPipDefaultDecal(Arch *arch, PipInfo &pip)
// clock?
if (dst_loc_id.in(id_GT00, id_GT10)) {
WireInfo &wi = arch->wire_info(pip.srcWire);
- if (wi.type.str(arch).substr(0, 3) != "UNK") {
+ if (wi.type.str(arch).substr(0, 5) == "SPINE") {
// create pip
GraphicElement el;
el.type = GraphicElement::TYPE_LOCAL_LINE;