GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 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)

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
tests
tests
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
.pylintrc
.pylintrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
testbench_generator.py
testbench_generator.py
 
 

Repository files navigation

VHDL Testbench Generator

Badges

unit-test python

A python script to generate a VHDL testbench template given an entity-architecture declaration passed as file(s) argument(s).

Demo

demo.mp4

Usage

  • download the python script

     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

      > 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
      1. Windows
    > 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

      python3 testbench_generator.py examples\Decoder3_8.vhdl examples\Mux2_1.vhdl

run unittest

python3 -m unittest tests\test_testbench_generator.py

# Contributions

  • pull request are welcome!

License

MIT License

About

A simple python script to generate a VHDL testbench template given an entity-architecture declaration passed as argument(s) as a file(s)

Topics

hdltestbench-generatortestbench-generator-vhdlvhdlvhdl-testbench

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.