Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/var7600/vhdl-testbench
A simple python script to generate a VHDL testbench template given an entity-architecture declaration passed as argument(s) as a file(s)
https://github.com/var7600/vhdl-testbench
vhdl vhdl-testbench
Last synced: about 2 months ago
JSON representation
A simple python script to generate a VHDL testbench template given an entity-architecture declaration passed as argument(s) as a file(s)
- Host: GitHub
- URL: https://github.com/var7600/vhdl-testbench
- Owner: Var7600
- License: mit
- Created: 2024-06-28T01:47:40.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T02:55:19.000Z (3 months ago)
- Last Synced: 2024-09-17T06:23:35.591Z (3 months ago)
- Topics: vhdl, vhdl-testbench
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VHDL Testbench Generator
# Badges
[![unit-test python](https://github.com/Var7600/VHDL-TestBench/actions/workflows/python-app.yml/badge.svg)](https://github.com/Var7600/VHDL-TestBench/actions/workflows/python-app.yml)
---**A python script to generate a VHDL testbench template given an entity-architecture declaration passed as file(s) argument(s).**
# Demo
https://github.com/Var7600/VHDL-TestBench/assets/77991946/c12ecadf-ef14-4735-a7ea-1395e4b94f1f
# Usage
- download the python script
```bash
git clone https://github.com/Var7600/VHDL-TestBench.git
cd VHDL-TestBench
```- you can launch the script without a argument to see the Help and example of usages
1. **Linux/MAC**
```bash
> chmod +x testbench_generator.py
> ./testbench_generator.py
Usage: python3 testbench_generator.py [VHDL FILE]. . .
generate testbench template of VHDL FILE(s) to current working directory
Examples:
python3 testbench_generator.py adder.vhdl mux.vhdl
```
2. **Windows**
```bash
> python3 testbench_generator.py
Usage: python3 testbench_generator.py [VHDL FILE]. . .
generate testbench template of VHDL FILE(s) to current working directory
Examples:
python3 testbench_generator.py adder.vhdl mux.vhdl
```- you can launch it with multiples VHDL files in arguments
1. with one VHDL file
2. with multiples VHDL files in arguments
```bash
python3 testbench_generator.py examples\Decoder3_8.vhdl examples\Mux2_1.vhdl
```# run unittest
```bash
python3 -m unittest tests\test_testbench_generator.py
```# # Contributions
- pull request are welcome!
# License
**MIT License**