Hi Marius,
The FPGA has different modules which require to be verified in Simulation.
Currently using UVVM & building the BFMs / VVCs to verify different individual FPGA modules. Using at the moment 1 testbench (TB instantiates 1 test harness, a clock generator and a Test Sequencer process) & 1 test harness (Test harness instantiates uvvm_engine, 1 DUT and 1 VVC related to the DUT)
Is it better to instantiate the clock generator within the testbench or test harness? I currently have it instantiated within the testbench. If in the testbench, can use potentially the same clock generator clocking to different harnesses (if more than 1 harness is the preferable choice). But each time clocking the clock generator it will delay the other DUT module unit and it will be tested eg one clock cycle later (via the one Test Sequencer process that resides in the single TB). Any comments here will be appreciated.
So far I used 1 VVC instantiated within the test harness and 1 DUT. VVC was developed to verify the specific DUT.
Within the test harness can we instantiate all the VVCs + different DUTs or do we need a different test harness per related VVCs/DUT ?
What about the testbench? Different one per related test harness/VVCs/DUT too?
Reason for asking is because I currently have 2 small VHDL modules (ie 2 different DUTs within the FPGA) which I developed BFMs & VVCs for them. Verified in simulation one of them using UVVM VVC platform scripts. Currently developing the platform for the other one.
Can I use 1 common testbench for both of them and 1 separate test harness (ie 2 instances within the testbench) for each related DUT/VVCs and use the same ie 1 test sequencer process of the TB to execute the various commands?
Your prompt reply to this matter will be appreciated.
Kind regards,
Kevin