diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-12-14 09:18:24 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-12-14 09:18:24 +0100 |
commit | ebbfb6375d8be60962922936fc7b7cd9b72a4796 (patch) | |
tree | c12b72b1470df1d9cdb5c827d9d587db58e069d4 /ecp5/arch.cc | |
parent | 19eb16045f58be18df9abf8d5b939cd6015bb77d (diff) | |
download | nextpnr-ebbfb6375d8be60962922936fc7b7cd9b72a4796.tar.gz nextpnr-ebbfb6375d8be60962922936fc7b7cd9b72a4796.tar.bz2 nextpnr-ebbfb6375d8be60962922936fc7b7cd9b72a4796.zip |
more new wires added
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 97aee1cc..f198861a 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -723,7 +723,16 @@ std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decal) const el.y1 = y + slice_y1; el.y2 = y + slice_y2; ret.push_back(el); - } else if (bel_type == id_DCUA || bel_type == id_EXTREFB || bel_type == id_PCSCLKDIV || bel_type == id_DTR || + } else if (bel_type == id_DCUA) { + GraphicElement el; + el.type = GraphicElement::TYPE_BOX; + el.style = decal.active ? GraphicElement::STYLE_ACTIVE : GraphicElement::STYLE_INACTIVE; + el.x1 = x + slice_x1; + el.x2 = x + 0.97; + el.y1 = y + slice_y2; + el.y2 = y + 0.25; + ret.push_back(el); + } else if (bel_type == id_EXTREFB || bel_type == id_PCSCLKDIV || bel_type == id_DTR || bel_type == id_USRMCLK) { GraphicElement el; el.type = GraphicElement::TYPE_BOX; |