OpenCores

VHDL Whisbone Test Bench :: Overview



Project maintainers

Details

Name: vhdl_wb_tb
Created: Jul 17, 2018
Updated: Aug 2, 2018
SVN Updated: Aug 3, 2018
SVN: Browse
Latest version: download (might take a bit to start...)
Statistics: View
Bugs: 0 reported / 0 solved
Star0you like it: star it!

Other project properties

Category:Testing / Verification
Language:VHDL
Development status:Beta
Additional info:Design done, Specification done
WishBone compliant: No
WishBone version: n/a
License: LGPL

Description

For the development of IP cores a test bench is needed. The given project provides a test bench written in VHDL which controls the stimulus,the verifier and the DUT via a common wishbone bus function model. The bfm acts like a virtual CPU performing read and write accesses to the control wishbone bus.

tc-files(uses wb_bfm_procedures) => wishbone_bus ->
-> stimulator (writes or generates DUT inputs)
-> verifier (reads or checks DUT outptus)
-> DUT (configures DUT via WB accesses)


In contrast to Ken Campbells "The VHDL Test Bench"(https://opencores.org/project/vhld_tb) we do not use an interpreter for the bfm functions. We use plain VHDL which requires VHDL knowledge for test definitions, but also provides more flexibility.

Testbench architecture:
workflow

Example test flow programming (reads and writes via wb):

test_sequence
© copyright 1999-2018 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.