These are a few tests using SpyDrNet library.
minimal.py
is a simple test program to implement the example netlist from the SpyDrNet documentation.
python minimal.py
This will produce 'minimal.edf'.
edif2dot.py
will convert an edif netlist into a graphviz diagram. This will require both the graphviz python bindings and the graphviz runtime.
python edif2dot.py minimal.edf
This will produce minimal.gv
and minimal.gv.pdf
.
A few arguments are supported:
usage: edif2dot.py [-h] [--output OUTPUT] [--view] [--format FORMAT] netlist
Convert edif netlist into graphviz dot diagram
positional arguments:
netlist input netlist
optional arguments:
-h, --help show this help message and exit
--output OUTPUT output dot file
--view launch viewer
--format FORMAT output format