TbGenerator
Program that generates VHDL testbench skeletons from a parsed VHDL entity automatically.
Install / Use
/learn @paulscherrerinstitute/TbGeneratorREADME
General Information
Maintainer
Daniel Llorente [daniel.llorente@psi.ch]
Author and main contributor
Oliver Bründler [oli.bruendler@gmx.ch]
License
This library is published under PSI HDL Library License, which is LGPL plus some additional exceptions to clarify the LGPL terms in the context of firmware development.
Changelog
See Changelog
Description
This tool automatically creates a testbench skeleton from a DUT VHDL file. Additional settings (e.g. clock frequencies) can be annotated in the VHDL file directly as comments.
The testbench generated can have two forms:
- Single File TB
- All code in a single file
- No separate test-cases
- Multi File TB
- If multiple testcases are specified, a package file is generated for each test-case
- This allows better organization of large testbenches
For more details, refer to the documentation
Tagging Policy
Stable releases are tagged in the form major.minor.bugfix.
- Whenever a change is not fully backward compatible, the major version number is incremented
- Whenever new features are added, the minor version number is incremented
- If only bugs are fixed (i.e. no functional changes are applied), the bugfix version is incremented
Dependencies
Library
The required folder structure looks as given below (folder names must be matched exactly).
Alternatively the repository psi_fpga_all can be used. This repo contains all FPGA related repositories as submodules in the correct folder structure.
- Python
- PsiPyUtils (3.0.0 or higher)
- TbGenerator
External
- PIP
- PyQt5
- pyparsing
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
