*** tpb <[email protected]> has joined #symbiflow | 00:00 | |
tpb | <sf-slack> <fahrenkrog> Hey all, I'm trying to find a way to generate a schematic diagram from a verilog module. I believe I saw that somewhere but I can't really find it? I also had a look at Sphinx HDL Diagrams, but I'm not fluent in RST. Is there a command line tool I can use to generate a PNG or SVG file from a .v input? | 02:44 |
---|---|---|
tpb | <sf-slack> <hansfbaier> I found out, how: https://github.com/kintex-chatter/scratchpad/issues/1#issuecomment-1030503642 | 02:55 |
tpb | <sf-slack> <hansfbaier> You can convert it to the .json netlist with yosys and then use netlistsvg to make a SVG out of that. | 03:20 |
tpb | <sf-slack> <hansfbaier> All Site types actually, the tiles have different coordinates. | 03:21 |
tpb | <sf-slack> <fahrenkrog> Thanks... how does that work? I will have a look online still... | 05:39 |
tpb | <lkcl> fahrenkrog: it's very simple, use yosys, "read verilog {insertfilename}; show top" | 11:47 |
tpb | <lkcl> (or "show {insert module name}" | 11:47 |
tpb | <lkcl> if you are doing that interactively you can type "show " then press tab twice to see the full list of modules | 11:48 |
tpb | <lkcl> interestingly sphinx hdl diagrams actually uses yosys "show {module}" underneath. | 11:49 |
tpb | <lkcl> "show -format" option can take SVG or ps (postscript) | 11:51 |
tpb | * lkcl just investigating now | 11:52 |
tpb | <lkcl> according to "yosys show --help" the --format option is simply passed through to the dot command, and the dot command does in fact support png, jpg, gif. | 11:53 |
tpb | <lkcl> interesting. | 11:53 |
tpb | <lkcl> so, yes, you should be able to get both PNG or SVG as you want | 11:53 |
*** maartenBE <maartenBE!~maartenBE@freenode/user/maartenBE> has quit IRC (Ping timeout: 120 seconds) | 22:08 | |
*** maartenBE <[email protected]> has joined #symbiflow | 22:09 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!