aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/gfx.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-18 12:12:05 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-18 12:12:05 +0200
commitc75a924c3f9dba4fd7d5c4e9674b29f7869a4e52 (patch)
tree526dc36005efb9bc1ec8b03b58f5b82aa3470f8b /ice40/gfx.cc
parent74cbaa5b83518d1743ae0a8fd335e7be1afb4f54 (diff)
downloadnextpnr-c75a924c3f9dba4fd7d5c4e9674b29f7869a4e52.tar.gz
nextpnr-c75a924c3f9dba4fd7d5c4e9674b29f7869a4e52.tar.bz2
nextpnr-c75a924c3f9dba4fd7d5c4e9674b29f7869a4e52.zip
ice40: Assign ArchArgs after packing
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/gfx.cc')
-rw-r--r--ice40/gfx.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/ice40/gfx.cc b/ice40/gfx.cc
index aa2fc9ce..f6ed789f 100644
--- a/ice40/gfx.cc
+++ b/ice40/gfx.cc
@@ -640,10 +640,8 @@ static bool getWireXY_local(GfxTileWireId id, float &x, float &y)
return false;
}
-void pipGfx(std::vector<GraphicElement> &g, int x, int y,
- float x1, float y1, float x2, float y2,
- float swx1, float swy1, float swx2, float swy2,
- GraphicElement::style_t style)
+void pipGfx(std::vector<GraphicElement> &g, int x, int y, float x1, float y1, float x2, float y2, float swx1,
+ float swy1, float swx2, float swy2, GraphicElement::style_t style)
{
float tx = 0.5 * (x1 + x2);
float ty = 0.5 * (y1 + y2);
@@ -693,7 +691,8 @@ edge_pip:
g.push_back(el);
}
-void gfxTilePip(std::vector<GraphicElement> &g, int x, int y, GfxTileWireId src, GfxTileWireId dst, GraphicElement::style_t style)
+void gfxTilePip(std::vector<GraphicElement> &g, int x, int y, GfxTileWireId src, GfxTileWireId dst,
+ GraphicElement::style_t style)
{
float x1, y1, x2, y2;