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.12.tar.gz (27.6 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.12-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hdltbgen-1.0.12.tar.gz
  • Upload date:
  • Size: 27.6 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.12.tar.gz
Algorithm Hash digest
SHA256 b8320cd398eddfa369da010d2db1d592d6e67cc15d0f3142e810967493f32b20
MD5 8bc7e87c71c0e84accc23638e2981421
BLAKE2b-256 0680bf032db58bb5230c7ee51375dbc0e21f24add8e78f6de232a00c9983248a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hdltbgen-1.0.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 270e6da35d7bdd196abcaec068c84f6465bba39e52337ec06e2fd7143233f5e3
MD5 b66ce0e4825bb6f2b6fb177804e895be
BLAKE2b-256 0c930b645c8590f36304d327b95ed94c383766d52d8ace61963f19af20ec6c8a

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