From e2b3e7e86f1b2bdd1ddc3aa1f76621cbb36d7776 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 21 Jan 2025 11:47:31 +0100 Subject: [PATCH] Display few more primitives --- himbaechel/uarch/gatemate/gfx.cc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/himbaechel/uarch/gatemate/gfx.cc b/himbaechel/uarch/gatemate/gfx.cc index 21ed304b..dff6beac 100644 --- a/himbaechel/uarch/gatemate/gfx.cc +++ b/himbaechel/uarch/gatemate/gfx.cc @@ -48,6 +48,27 @@ void GateMateImpl::drawBel(std::vector &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; } }