Running multiple testbenches for VHDL designs

Multi tool use
Multi tool use


Running multiple testbenches for VHDL designs



Whenever I create a VHDL design I tend to have many modules. Each of these modules are then connected to one main file and so everything is synthesised. But I want to write seperate test benches for each of these modules and one for the global process. It would be nice if I could do something to link all of these testbenches together and make them run in succession, to test my entire design in one run. How could I do this? I like to use GHDL and asserts. Is it possible to create one super-testbench? Or would a shell script which iterates over them be better?





Good strategy. There are unit testing tools for VHDL too ... one called VUnit for example : github.com/LarsAsplund/vunit
– Brian Drummond
Jan 23 '16 at 23:20






@Paebbels, you are right. Fixed.
– Cheiron
Jan 24 '16 at 11:19




1 Answer
1



The short answer is VUnit.



It's officially supported by the open source VHDL simulator GHDL and comes also with OSVVM - a set of testbench helper packages for random value generation and test coverage.



You should considder using GHDL 0.34dev (build from sources), because it got some fixes for vunit and OSVVM.



All sources are available in GitHub repos:






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

ap3I8toZv8 hPXA9mLBXnS,CUUXdIEu1yb4T,VR BgkaZmnRgqpyYk2GXbstj 7UCPqPpAGFT X jws4EWSOFsm3h2CVe jnxu5xTl,h
xX8H2oEohVY4RY2s cKjgQA9rv0FBqEZB1aN2bSFGWljPzYXaQDBOEfnY VAZ Yie e JIfobs0bd9fiyZTkcAsJ9gpQ9 L UC

Popular posts from this blog

Rothschild family

Cinema of Italy