diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2023-03-17 19:00:05 +0100 |
---|---|---|
committer | myrtle <gatecat@ds0.me> | 2023-03-20 09:53:35 +0100 |
commit | 0ce72e1a3103d52d036f822b98e511d9c4f1e71b (patch) | |
tree | df69b12dc5ec296cdce6e7e7279234c476f2d811 /machxo2/gfx.cc | |
parent | ad5f6fccaa4484eb02d3fa6d420ff39517b524e6 (diff) | |
download | nextpnr-0ce72e1a3103d52d036f822b98e511d9c4f1e71b.tar.gz nextpnr-0ce72e1a3103d52d036f822b98e511d9c4f1e71b.tar.bz2 nextpnr-0ce72e1a3103d52d036f822b98e511d9c4f1e71b.zip |
Use TRELLIS primitives
Diffstat (limited to 'machxo2/gfx.cc')
-rw-r--r-- | machxo2/gfx.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/machxo2/gfx.cc b/machxo2/gfx.cc index 08b2e01d..19da68e1 100644 --- a/machxo2/gfx.cc +++ b/machxo2/gfx.cc @@ -43,19 +43,19 @@ void gfxTileBel(std::vector<GraphicElement> &g, int x, int y, int z, int w, int GraphicElement el; el.type = GraphicElement::TYPE_BOX; el.style = style; - if (bel_type == id_FACADE_SLICE) { + if (bel_type == id_TRELLIS_SLICE) { el.x1 = x + slice_x1; el.x2 = x + slice_x2_comb; el.y1 = y + slice_y1 + z * slice_pitch; el.y2 = y + slice_y2 + z * slice_pitch; g.push_back(el); - /* } else if (bel_type == id_FACADE_FF) { + /* } else if (bel_type == id_TRELLIS_FF) { el.x1 = x + slice_x1_ff; el.x2 = x + slice_x2; el.y1 = y + slice_y1 + z * slice_pitch; el.y2 = y + slice_y2 + z * slice_pitch; g.push_back(el);*/ - } else if (bel_type.in(id_FACADE_IO)) { + } else if (bel_type.in(id_TRELLIS_IO)) { bool top_bottom = (y == 0 || y == (h - 1)); if (top_bottom) { el.x1 = x + io_cell_h_x1 + (z + 2) * io_cell_gap; |