diff options
author | David Shah <dave@ds0.me> | 2019-04-17 11:00:23 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-04-17 11:00:23 +0100 |
commit | 48c4c1ed0561e643a591ed7fca21c69954abd8d2 (patch) | |
tree | e5a91b0f2f5b090a0109a278343c54e34b5dada0 /generic/examples/report.py | |
parent | 90ceb829f347372975310d40d2bb6bade0352890 (diff) | |
download | nextpnr-48c4c1ed0561e643a591ed7fca21c69954abd8d2.tar.gz nextpnr-48c4c1ed0561e643a591ed7fca21c69954abd8d2.tar.bz2 nextpnr-48c4c1ed0561e643a591ed7fca21c69954abd8d2.zip |
generic/examples: Add FASM writer Python script
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'generic/examples/report.py')
-rw-r--r-- | generic/examples/report.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/generic/examples/report.py b/generic/examples/report.py deleted file mode 100644 index c43367fa..00000000 --- a/generic/examples/report.py +++ /dev/null @@ -1,13 +0,0 @@ -with open("blinky.txt", "w") as f: - for nname, net in ctx.nets: - print("# Net %s" % nname, file=f) - # FIXME: Pip ordering - for wire, pip in net.wires: - if pip.pip != "": - print("%s" % pip.pip, file=f) - print("", file=f) - for cname, cell in ctx.cells: - print("# Cell %s at %s" % (cname, cell.bel), file=f) - for param, val in cell.params: - print("%s.%s %s" % (cell.bel, param, val), file=f) - print("", file=f)
\ No newline at end of file |