diff options
author | gatecat <gatecat@ds0.me> | 2023-03-17 09:31:38 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2023-03-17 09:31:38 +0100 |
commit | 4111cc25d653bde9fbda72b9cf9dc13a876e214a (patch) | |
tree | 5262e149213062b74e777da4f0132fc8b0f30757 /machxo2/gfx.cc | |
parent | 656bfdb8199c9b36e7a064d7dd8d287069142287 (diff) | |
download | nextpnr-4111cc25d653bde9fbda72b9cf9dc13a876e214a.tar.gz nextpnr-4111cc25d653bde9fbda72b9cf9dc13a876e214a.tar.bz2 nextpnr-4111cc25d653bde9fbda72b9cf9dc13a876e214a.zip |
clangformat
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'machxo2/gfx.cc')
-rw-r--r-- | machxo2/gfx.cc | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/machxo2/gfx.cc b/machxo2/gfx.cc index 97876ad2..08b2e01d 100644 --- a/machxo2/gfx.cc +++ b/machxo2/gfx.cc @@ -23,7 +23,7 @@ NEXTPNR_NAMESPACE_BEGIN const float slice_x1 = 0.800; const float slice_x2_comb = 0.927; -//const float slice_x1_ff = 0.933; +// const float slice_x1_ff = 0.933; const float slice_x2 = 0.94; const float slice_y1 = 0.60; const float slice_y2 = 0.65 + 0.1 / 4; @@ -37,7 +37,6 @@ const float io_cell_h_x1 = 0.05; const float io_cell_h_y1 = 0.05; const float io_cell_h_y2 = 0.24; - void gfxTileBel(std::vector<GraphicElement> &g, int x, int y, int z, int w, int h, IdString bel_type, GraphicElement::style_t style) { @@ -50,12 +49,12 @@ void gfxTileBel(std::vector<GraphicElement> &g, int x, int y, int z, int w, int 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) { - 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 == id_FACADE_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)) { bool top_bottom = (y == 0 || y == (h - 1)); if (top_bottom) { @@ -88,7 +87,6 @@ void gfxTileWire(std::vector<GraphicElement> &g, int x, int y, int w, int h, IdS { } - void gfxTilePip(std::vector<GraphicElement> &g, int x, int y, int w, int h, WireId src, IdString src_type, GfxTileWireId src_id, WireId dst, IdString dst_type, GfxTileWireId dst_id, GraphicElement::style_t style) |