This tool provide an ability to generate wrappers according project hierarchy created in Drawio tool.
Drawio HDL Builder is not a part of Drawio extensions, it's a separate web-based page, running locally on your PC (simple HTML page, working with any web browser)
We provide a small library FSLib which will help you build project hierarchy with instances, connecting and then generate HDL (VHDL and Verilog) code.
-
Download and unzip this "Drawio HDL Builder" repository
-
Download and install Drawio or use web-version
-
Create a new diagram in Drawio
-
Remove "Compressed" checkbox in diagram settings: File => Properties => uncheck "Compressed" => Apply
-
Use prepared template from FSLib to create project hierarchy. Learn more from this tutorial
-
After you complete open index.html file from downloaded "Drawio HDL Builder" repository
-
Choose your .drawio diagram file
-
Press "Do Magic" button
-
Select necessary modules from project using checkboxes, "Select All" or "Clear All" buttons
-
Press "Download" button to save files. Press allow to multiple downloads, if your browser ask.
PS: do not look at source code, except StackOverflow it's terrible.