1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-01-25 19:57:13 +00:00

svg: Basic SVG graphics rendering

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2020-02-14 21:08:58 +00:00
parent e0b4f0ee63
commit b6158f94f6
7 changed files with 168 additions and 0 deletions

1
python/svg_placement.py Normal file
View File

@@ -0,0 +1 @@
ctx.writeSVG(ctx.top_module + "_placed.svg", "scale=50 hide_routing")

1
python/svg_routing.py Normal file
View File

@@ -0,0 +1 @@
ctx.writeSVG(ctx.top_module + "_routed.svg", "scale=500")

View File

@@ -0,0 +1 @@
ctx.writeSVG(ctx.top_module + "_routed.svg", "scale=500 hide_inactive")