Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported svg is using "physical wiring connections" instead of "signal name association" (netlists) #112

Open
71GA opened this issue Sep 22, 2021 · 4 comments

Comments

@71GA
Copy link

71GA commented Sep 22, 2021

I sucessfully converted my verilog .v electronics design to .json and then in a .svg file but I see that all the connections are drawn using the "physicall wiring connections" like this:
2

And this is extremely hard to read unlike "netlists":
1

Is there a way to add support for "netlists"? So that schematics will at least be useful in development. Currently I get this...

top.pdf

And I can't do much with this...

@nobodywasishere
Copy link
Contributor

I'm not sure if there'd be an easy way to determine which wires to disconnect and replace with labels vs which wires to leave in place. One option could just be opening up the generated netlist in inkscape afterwards and changing it around to fit what you're looking for, but this would be more of a one-time thing.

Personally, I think the first image you linked is easier to read (and what I would refer to as a netlist), but that's just me. I don't have to make mental connections of how everything fits together.

@rjordans
Copy link
Contributor

I could imagine having a list of nets that should be translated into labels wherever they are used. That might be useful for more 'global' nets like clock or reset lines that can go in all kinds of directions sometimes. For most of the other nets I'd prefer the first image version too.

@71GA
Copy link
Author

71GA commented Oct 5, 2021

@nobodywasishere 1st image is "easier to" read exclusively because it is a really small design. Try this still "small" design of mine.

top.pdf

Good luck...

Probably now you see... It is impossible to read it, because vertical wires clutter everything. Try to follow some wires... You might even get dizzy!

@71GA
Copy link
Author

71GA commented Oct 5, 2021

Also in large designs it is hard to follow a wire, but when you have a label, you can simply CTRL+F and be done. Maybee it is possible to at least somehow implement an algorythm that checks the length of the wires and replaces the long ones with the labels. The long ones are the ones that mess everything anyway...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants