Skip to content

Commit

Permalink
Display few more primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Jan 21, 2025
1 parent dbcc9b7 commit e2b3e7e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions himbaechel/uarch/gatemate/gfx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,27 @@ void GateMateImpl::drawBel(std::vector<GraphicElement> &g, GraphicElement::style
el.y2 = el.y1 + 0.60;
g.push_back(el);
break;
case id_BUFG.index:
el.x1 = loc.x + 0.15 + loc.z * 0.20;
el.x2 = el.x1 + 0.15;
el.y1 = loc.y + 0.10;
el.y2 = el.y1 + 0.30;
g.push_back(el);
break;
case id_PLL.index:
el.x1 = loc.x + 0.15 + (loc.z - 4) * 0.20;
el.x2 = el.x1 + 0.15;
el.y1 = loc.y + 0.60;
el.y2 = el.y1 + 0.30;
g.push_back(el);
break;
case id_USR_RSTN.index:
el.x1 = loc.x + 0.20;
el.x2 = el.x1 + 0.20;
el.y1 = loc.y + 0.20;
el.y2 = el.y1 + 0.20;
g.push_back(el);
break;
}
}

Expand Down

0 comments on commit e2b3e7e

Please sign in to comment.