Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
/ yosys Public archive
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

YoWASP yosys fails to generate SVG diagrams #17

@rw1nkler

Description

@rw1nkler

Currently, YoWASP Yosys fails to generate SVG diagrams. However, the .dot file is created correctly in the output directory.
The problem seems to be related to dot execution:

3. Generating Graphviz representation of design.
Writing dot description to `yosys.dot'.
Dumping module ADDER to page 1.
Exec: dot -Tsvg 'yosys.dot' > 'yosys.svg.new' && mv 'yosys.svg.new' 'yosys.svg'

Steps to reproduce:

wget https://raw.githubusercontent.com/SymbiFlow/sphinxcontrib-verilog-diagrams/master/tests/verilog/adder.v
python3 -c "from yowasp_yosys import *; run_yosys(['-p', 'prep -top ADDER ; cd ADDER; ; show -format svg -prefix yosys', 'adder.v'])"

Comparison with standard Yosys:

wget https://raw.githubusercontent.com/SymbiFlow/sphinxcontrib-verilog-diagrams/master/tests/verilog/adder.v
yosys -p 'prep -top ADDER ; cd ADDER; ; show -format svg -prefix yosys' adder.v

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions