• Tomasz Wlostowski's avatar
    sim: Redesign and cleanup of the common SystemVerilog testing code: · 37571aa1
    Tomasz Wlostowski authored
    - Rework simdrv_defs into a package
    - Use SV queues instead of dynamic arrays in the APIs (as they resemble C++'s std::vector a bit more, hence are more convenient to use)
    - Added AXI4 BFMs from the PULP project library
    - Added a bunch of simulation drivers (for the VUART & LM32 MCS cores)
    - Added a trivial unit test/logging "framework" (logger.svh)
    
    Note these changes will break your legacy testbenches, here's how to fix the most common issues:
    - Replace the includes of simdrv_defs.svh indo an include of "gencores_sim_defs.svh" followed by
      import of gencores_sim_pkg package
    - If your code uses CBusAccessor::readm/writem, change the addr/data parameters to use SV queues instead of dynamic arrays
    37571aa1
axi_test.sv 75.7 KB