From b6158f94f6e83e7fac67c678effd21ec932cd0c2 Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 14 Feb 2020 21:08:58 +0000 Subject: svg: Basic SVG graphics rendering Signed-off-by: David Shah --- python/svg_placement.py | 1 + python/svg_routing.py | 1 + python/svg_routing_fast.py | 1 + 3 files changed, 3 insertions(+) create mode 100644 python/svg_placement.py create mode 100644 python/svg_routing.py create mode 100644 python/svg_routing_fast.py (limited to 'python') diff --git a/python/svg_placement.py b/python/svg_placement.py new file mode 100644 index 00000000..6adf0afd --- /dev/null +++ b/python/svg_placement.py @@ -0,0 +1 @@ +ctx.writeSVG(ctx.top_module + "_placed.svg", "scale=50 hide_routing") diff --git a/python/svg_routing.py b/python/svg_routing.py new file mode 100644 index 00000000..589b92b7 --- /dev/null +++ b/python/svg_routing.py @@ -0,0 +1 @@ +ctx.writeSVG(ctx.top_module + "_routed.svg", "scale=500") diff --git a/python/svg_routing_fast.py b/python/svg_routing_fast.py new file mode 100644 index 00000000..d30a9d66 --- /dev/null +++ b/python/svg_routing_fast.py @@ -0,0 +1 @@ +ctx.writeSVG(ctx.top_module + "_routed.svg", "scale=500 hide_inactive") -- cgit v1.2.3