HDLBlockDraw block diagrams in VS Code and keep them as readable Unicode text in your source files. The graphical editor opens beside your code; edits update the diagram text automatically. Export SVG or PNG images for documentation and presentations. Add boxes, arrows and labels, then move or resize shapes with their connections attached. Diagrams stay in your source, ready to review and version alongside your code. Supports SystemVerilog, Verilog, VHDL, C, C++, Java, TypeScript, Python, Tcl, JavaScript, plain text and Markdown. Requires VS Code 1.85 or later. Examples: Unicode diagrams and SVG outputA simple diagram in SystemVerilog comments:
Export the same diagram as an SVG with smooth outlines and text that stays sharp when resized.
Getting started
Exporting DiagramsChoose Export… → SVG (vector) in the diagram toolbar, then choose a filename and save. Use the SVG in your documents, slides or web pages. Export includes the whole diagram on a white background, without the editor grid or selection handles. PNG export is also available through Export… → PNG…, with adjustable image size. Support and licenceReport problems through GitHub Issues. Include your VS Code version, operating system, and steps to reproduce the problem. The public extension is free to use for personal and commercial development under the EULA. Third-party dependencies retain their own licences. |

