-
Notifications
You must be signed in to change notification settings - Fork 14
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
VHDL/Verilog to schematic #1
Comments
Hello, quick answer: Long answer: But there is an another problem with the raw VHDL/Verilog:
|
Thanks, yours seems to be a really interesting and ambitious project. I understand that there might be difficulties when parsing the interfaces, but maybe that for simpler projects (hierarchical entities with subcomponents and packages) there would be more chance to obtain some nice schematics? Anyway, pardon me, if I understood correctly it wouldn't be possible at the moment to do the above because actually only the parser is implemented, right? Thank you again. |
The gui can display anything. The parsers which can parse the full informations about the connections from the hdl does exists. However there is not a final piece of the sw which converts the parsed data to json for this library. As I mentioned It will be finished in cca 2 months. However if you thinking about implementing the convertor your self I can help (it should take like 1-2 days). The format is relatively easy and more advanced features which I described ablove are indeed optional. However the format is described only by the classes in the code and there is actually no wiki about it. |
Could you please explain more about this, please? For example, what do you exactly mean with classes?
Well, that is exactly what I wanted to do, it would be great if you could help. To do some testing, I found this project which could do the job for us: https://opencores.org/projects/sap It consists of a simple implementation of a 8-bit uP, all in VHDL, testbench included. I think that displaying a hierarchical and possibly expandable schematic of that project would be good enough, to begin with. If you don't have a OpenCores account I could upload the project archive for you, just let me know. |
https://github.com/Nic30/hwtGraph/tree/master/hwtGraph/elk/containers The hdlConvertor library in this branch can parse the hdl languages. However now it parse body only of verilog modules and the body of vhdl architectures will be parsed end of this week. For input arbiter.v it provides python dictionary which is basically json arbiter.zip Now it is required to convert this json format to format for the d3-hwschematic. The output of the hdlConvertor is maybe to verbose I mean maybe it will be required to minifi it somehow in future. The output of the hdlCovertor is currently described by toJson() methods of the hdlObjects classes. The shape of the node is currently resolved by it's name. If the renderer recognizes the name of the component https://github.com/Nic30/d3-hwschematic/blob/master/src/node_renderers/muxNode.js#L26 the renderer is used to draw a node. Good, it is also the question how we deal with non synthesisable code constructs. And how correct warning/error messages should look like. Also if you find something lets say too complicated just let me know about this so I can remove/rewrite/document this thing. |
Hierarchical ports sketch and examples for it
Hello, how could I use your schematic viewer to visualize diagrams of VHDL/Verilog hierarchical entities starting from source files?
Thank you and congratulations on your project.
The text was updated successfully, but these errors were encountered: