Merge pull request #1061 from yrabbit/fix-clock-gui
gowin: not crush on unknown clock tap's sources
This commit is contained in:
commit
16ffd02a9d
@ -4971,7 +4971,7 @@ void gfxSetPipDefaultDecal(Arch *arch, PipInfo &pip)
|
|||||||
// clock?
|
// clock?
|
||||||
if (dst_loc_id.in(id_GT00, id_GT10)) {
|
if (dst_loc_id.in(id_GT00, id_GT10)) {
|
||||||
WireInfo &wi = arch->wire_info(pip.srcWire);
|
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
|
// create pip
|
||||||
GraphicElement el;
|
GraphicElement el;
|
||||||
el.type = GraphicElement::TYPE_LOCAL_LINE;
|
el.type = GraphicElement::TYPE_LOCAL_LINE;
|
||||||
|
Loading…
Reference in New Issue
Block a user