Blueprint HDL
Understand VHDL projects at a glance, right inside VS Code: the hierarchy from the top, block diagrams you can
navigate, state machines drawn from the code, unused files and warnings.
Everything is local. The extension does not use the network, does not launch programs and does not send any
data. It works offline.
Features
- Hierarchy from the top entity, with the Unused files and the Warnings of the project.
- Block diagrams of any module: instances, ports, nets, generates and the local logic (processes, assignments
and port-map expressions, coloured by kind). Double click a block to enter it.
- State machines detected in the sources and drawn as diagrams. A click on a state or a transition goes to
its line in the code.
- Diagram ↔ code: a click in the diagram opens the code; with Follow on, what is under the editor cursor
is highlighted in the diagram and the two searches stay in sync.
- Search in the diagram like the editor's find:
Enter / Shift+Enter, Aa (match case, Alt+C) and
ab (whole word, Alt+W). Its matches are also marked in the code.
- Follows the colour theme of VS Code, dark or light. Export any diagram to SVG.
Installation
- From VS Code: open Extensions, search for Blueprint HDL and click Install.
- Offline: download the
.vsix from the Marketplace page (Download Extension), copy it to the computer
and, in VS Code, go to Extensions → … → Install from VSIX…, or run
code --install-extension blueprint-hdl-X.Y.Z.vsix.
Getting started
- Open the project folder, which must be local, and the Blueprint HDL icon in the sidebar.
- In Sources, click Add Files… or Add Folder…. Only what you add is analyzed; a folder includes all
its VHDL files, including those you create later.
- Right-click the top file, inside Sources, and choose Set as Top. You will see the Hierarchy, the
Unused files and the Warnings. Click any item to open its code.
- To see the diagram, click the schematic icon in the Hierarchy header, or the one that appears when you hover
over an instance. In the diagram, a click goes to the code and a double click enters the block and opens its
code in a preview tab.
- State Machines lists the FSMs found in the sources, even if there is no top. Click one to open its
diagram: a click on a state goes to its branch in the
case, and a click on a transition goes to the line
where the state changes. In the block diagram, double-click a process marked "FSM" to enter it.
Working in the diagram
- Move and zoom: drag to pan, mouse wheel to zoom,
0 or ⤢ to fit.
- Back and forward:
Alt+← / Alt+→, the ← button or the mouse side buttons, like a web browser.
- Follow: the element under the editor cursor stays highlighted while you pan or zoom the diagram. Click
anywhere in the diagram or press
Escape to dismiss it.
- Escape clears the search first, then the selection.
- Logic shows or hides the local logic. Style chooses the highlight colour, the process colours and
whether other nets fade.
- Clicking a pin of a process or an assignment selects that signal in the code; clicking it again moves to its
next use.
Options
Only if you need them:
- Add from the explorer. Right-click files or folders → Add to Blueprint Project.
To remove something, right-click in Sources → Remove from Project.
- Duplicate versions or multiple architectures. Go to Warnings → Conflicts and choose Choose Version….
- Disable a file, as in Vivado: right-click and Disable in Blueprint. Nothing is deleted.
- FSM with an unusual style. If it does not appear, write
-- fsm: state_signal inside its architecture
(for two processes, -- fsm: state next_state). If the detection is not certain, the diagram is still shown,
marked as partial and with the reason.
- Libraries. In
.vscode/settings.json, add "blueprintHdl.libraries": { "dsp_lib": ["src/dsp/**"] }.
Without this, everything goes to work and references to other libraries are resolved by name.
All configuration is stored in the project's .vscode/settings.json, under blueprintHdl.* keys.
Warnings
Each warning has a code, such as BH-P001 or BH-R004. To report a problem, the code and the type of construct
are enough: you never need to share your code.
Privacy: how to check that it does not use the network
Contents. A .vsix is a zip (rename it to .zip to open it). It only contains package.json, the
README, the CHANGELOG, the licenses, the icons and extension/dist/*.js. That JavaScript is not minified and
can be read.
Search. On the unzipped archive, this command must find nothing:
- Linux:
grep -rnE 'fetch\(|XMLHttpRequest|WebSocket|EventSource|sendBeacon|require\("(node:)?(http|https|http2|net|tls|dns|dgram|child_process)"\)|https?://' extension/dist
- Windows (PowerShell):
Select-String -Path extension\dist\*.js -Pattern 'fetch\(|XMLHttpRequest|WebSocket|EventSource|sendBeacon|require\("(node:)?(http|https|http2|net|tls|dns|dgram|child_process)"\)|https?://'
The only matches are XML namespace identifiers (the SVG one and a few inside elkjs): they are names, never
fetched.
Dependencies. The only runtime dependency is elkjs (layout calculation, pure JavaScript, license in
THIRD_PARTY_NOTICES.md).
Diagram view. Its security policy (CSP) forbids everything except the extension's own files: no
connections, no external scripts and no inline code.
No network. Disconnect from the network and use it: it works the same.
VS Code has its own telemetry and its own update check, separate from this extension. If you want to turn them
off, set "telemetry.telemetryLevel": "off" and "update.mode": "none" in the user settings.
License
Free to use, for any purpose. © 2026 J. Palacios Labs. See LICENSE for the terms.
| |