Skip to main content

HDL Testbench Generator

Project description

hdltbgen

HDL Testbench Generator – parses a VHDL entity and generates testbench artifacts.

Installation

pip install hdltbgen

Excel support: pip install "hdltbgen[excel]"

Functionality

  • Parses a .vhd entity interface (generics and ports)
  • Generates testbench artifacts: vhdl, csv, excel
  • Supports automatic clock/reset detection (or explicit CLI override)
  • Can generate VUnit-compatible output and an optional sim wrapper
  • Supports interactive generic value entry via --ask
  • Can generate multiple artifact types in one run by repeating -t

Usage

hdltbgen -f my_design.vhd -t vhdl
Argument Short Description
--file -f VHDL input file (required)
--type -t Output type: vhdl, csv, excel (repeatable, required)
--output -o Output directory (default: input file directory)
--clock -c Clock signal name(s)
--reset-negative -rn Active-low reset name(s)
--reset-positive -rp Active-high reset name(s)
--vunit -v VUnit-compatible testbench
--simfile -s Generate separate simulation wrapper
--ask -a Prompt for generic values

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdltbgen-1.0.13.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hdltbgen-1.0.13-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file hdltbgen-1.0.13.tar.gz.

File metadata

  • Download URL: hdltbgen-1.0.13.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for hdltbgen-1.0.13.tar.gz
Algorithm Hash digest
SHA256 ad6cac3f10f03f8fd76ab239478ac62ec2a1ae5fdab4fede9b08b7d1ded2801a
MD5 52a6d33ad9bee00a4489061a4812ce94
BLAKE2b-256 19a639ecf2e1f08441417ffe323560526de202acce512e6f43b8dd797325c4b0

See more details on using hashes here.

File details

Details for the file hdltbgen-1.0.13-py3-none-any.whl.

File metadata

  • Download URL: hdltbgen-1.0.13-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for hdltbgen-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a048f07c9bf1357b6e40abbb8da698c628f3e4dc1a9bf9007f20725cf96828aa
MD5 b54d38f234bcb41b09b4e0a7c5e1ba15
BLAKE2b-256 ffecfac75281eeb61bd5cb702c9110f8552f12fd50166eb0cf0b2e0e082d0427

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page