nturley / netlistsvg

draws an SVG schematic from a JSON netlist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Generate arithmetic operations fused with constants

sifferman opened this issue · comments

Hello.

DigitalJS has a really cool feature to improve schematic readability by generating arithmetic operations fused with constants: code source. I believe this would be a very useful addition to netlistsvg as well.

For reference, here are schematics generated by netlistsvg and DigitalJS Online of a basic register file. DigitalJS' schematic is much more readable, likely due to the addition of arithmetic operations fused with constants.

Yosys+netlistsvg
DigitalJS Online

@sifferman - Random side question -- do you think the DigitalJS Online stuff could be integrated into sphinxcontrib-hdl-diagrams ? It currently supports both Yosys diagrams and NetlistSVG diagrams. (I logged tilk/digitaljs#104 to ask about it directly with DigitalJS team.)

I'm also interested