Skip to content
Systems programming for what’s next.
— Vex

VexHDL ​

VexHDL describes digital hardware through modules, ports, clocked state, and combinational logic. Its project includes a compiler, simulator, synthesis integration, and the desktop Vex HDL Studio environment.

The programming-language compiler and the HDL toolchain serve different purposes. A Vex graph fn describes a data-parallel software computation; a VexHDL graph describes a hardware module and its connections.

Choose the product ​

ProductUse it forStart here
Vex language CLISystems programs, libraries, concurrency, and numerical codeFirst Vex project
VexHDL compiler and simulatorHardware modules, signal behavior, and circuit testbenchesHDL getting started and the instructions for your source checkout
Vex HDL StudioA desktop environment for HDL projectsSelect the matching installer and release notes on the release page or Download

The pages here use illustrative designs to explain hardware behavior. Use the project format and tool commands supplied with your chosen HDL toolchain; software CLI commands and Vex package manifests are not interchangeable with Studio project instructions.

Build a hardware design in layers ​

  1. Define the interface. Give every port a direction, width, and clock-domain meaning. State when an input is sampled and when an output is valid.
  2. Specify state transitions. Separate combinational calculations from state updated on a clock edge. Define reset behavior and priority explicitly.
  3. Exercise the protocol. Simulate ordinary transactions, empty/full states, reset during activity, and boundary widths or counts.
  4. Choose the implementation flow. Synthesis and place-and-route need a device, timing constraints, and the appropriate external tools.

The FIFO reference model illustrates simultaneous requests and occupancy boundaries. The UART example shows a clock divider and a multi-cycle state machine. The AXI discussion explains how separate channels create independent obligations.

Simulation, synthesis, and physical behavior ​

Simulation evaluates the design's behavioral model. Synthesis maps eligible logic into a hardware representation; placement, routing, timing analysis, and board constraints determine whether that implementation meets a device-level requirement. A successful compiler check does not replace those stages.

Clock-domain crossings, reset release, memory read behavior, and signal timing need explicit design choices. Treat assertions and static checks as ways to expose a violated contract, and keep electrical and timing validation tied to the actual implementation.

Explore the concepts ​

Released under the MIT License.