aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-07 12:40:31 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-07 12:40:31 +0200
commita5249da02d2a55d4b838dd8c29e159513dd71418 (patch)
treeb290c203607b8d05a4c10e0febde92c027890a3e /python
parente576f71838290ff12b98145fb02af84563fc03c1 (diff)
downloadnextpnr-a5249da02d2a55d4b838dd8c29e159513dd71418.tar.gz
nextpnr-a5249da02d2a55d4b838dd8c29e159513dd71418.tar.bz2
nextpnr-a5249da02d2a55d4b838dd8c29e159513dd71418.zip
Working on global Python design object
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/dump_design.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/dump_design.py b/python/dump_design.py
new file mode 100644
index 00000000..9d8ade3e
--- /dev/null
+++ b/python/dump_design.py
@@ -0,0 +1,2 @@
+for cell in design.cells:
+ print(cell.first)