firmware_tools/verification/tb_template/test
2022-03-11 14:43:23 +00:00
..
doc Updating VProc TB template with latest changes 2019-07-18 14:18:18 +01:00
src Adding additional features t test bench template's makefile to allow batch running with logging, and post wave display using free ModelSim 2020-06-20 14:03:52 +01:00
autogen.bat Updating tb_template to automatically scale timings from CLK_FREQ_MHZ generic 2019-09-18 07:30:31 +01:00
autogen.sh Updating tb_template to automatically scale timings from CLK_FREQ_MHZ generic 2019-09-18 07:30:31 +01:00
cleanvlib.do Adding additional features t test bench template's makefile to allow batch running with logging, and post wave display using free ModelSim 2020-06-20 14:03:52 +01:00
compile.do Updated test bench template to use VHDL versions of VProc and mem_model components 2019-09-27 12:19:18 +01:00
files.tcl Updated test bench template to use VHDL versions of VProc and mem_model components 2019-09-27 12:19:18 +01:00
files_vlog.tcl Updated test bench template to use VHDL versions of VProc and mem_model components 2019-09-27 12:19:18 +01:00
makefile Adding additional features t test bench template's makefile to allow batch running with logging, and post wave display using free ModelSim 2020-06-20 14:03:52 +01:00
README.txt Added README.txt template to test directory to tb_template 2019-11-28 15:45:32 +00:00
sim.do Updated tb_template's simulation .do files to remove extrnal arguments for linux build compatibility 2019-09-17 15:42:30 +01:00
simg.do Updated tb_template's simulation .do files to remove extrnal arguments for linux build compatibility 2019-09-17 15:42:30 +01:00
simlog.do Adding additional features t test bench template's makefile to allow batch running with logging, and post wave display using free ModelSim 2020-06-20 14:03:52 +01:00
tb.vhd Updated test bench template to use VHDL versions of VProc and mem_model components 2019-09-27 12:19:18 +01:00
tb_ctrl.vhd ELGIP-186. tb_ctrl.vhd outputs 3 clocks which are delta times appart. Fix so that in sync as per a PLL so SIM matches real world 2022-03-11 14:43:23 +00:00
tb_pkg.vhd Adding bear bones VProc based test bench template for reference 2019-06-12 15:33:12 +01:00
vusermain.cfg Adding bear bones VProc based test bench template for reference 2019-06-12 15:33:12 +01:00
wave.do Adding additional features t test bench template's makefile to allow batch running with logging, and post wave display using free ModelSim 2020-06-20 14:03:52 +01:00

This is a virtual processor (VProc) based test bench, created from the template in the fw_development_tools repository (git@hydra:GIS_Embedded_Logic/fw_development_tools.git). This is documented on confluence at:

  https://confluence.gisapps.co.uk/display/EL/Testbench+Template+with+VProc
  
It is recommended to read this document if you are unfamiliar with this type of test bench. Additional documents for this specific repository, if available, would be located in <reporoot>/firmware/top/doc. The following is a list of setup requirements with links to the relevant sections of the document.


1. Link to generic_ip

  If just checked out a new repostitory a link must be made to a EL-GENERIC-IP repostory (git@hydra:GIS_Embedded_Logic/EL-GENERIC-IP.git). See:

  https://confluence.gisapps.co.uk/display/EL/Testbench+Template+with+VProc#TestbenchTemplatewithVProc-GenericIP

2. Cutomising makefile

  The makefile has defaults for the location of things like the modelsim root directory, or the genric library. These may need customising to the local set up if different from the defaults. See:
 
  https://confluence.gisapps.co.uk/display/EL/Testbench+Template+with+VProc#TestbenchTemplatewithVProc-Customisingthetestbench

3. Compilation dependencies

  If not done already, MinGW (in repo git@hydra:GIS_Embedded_Logic/mingw.git) must be available to compile the test bench. See:
  
  https://confluence.gisapps.co.uk/display/EL/Testbench+Template+with+VProc#TestbenchTemplatewithVProc-CompilationTools

4. Running tests

  When the setup is correct, from this directory (in cmd shell or equivalent) various commands are available to build and run the simulation. See:

  https://confluence.gisapps.co.uk/display/EL/Testbench+Template+with+VProc#TestbenchTemplatewithVProc-Commands