1. 15 Dec, 2022 2 commits
    • Tomasz Wlostowski's avatar
    • 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
  2. 10 Oct, 2022 1 commit
  3. 01 Sep, 2022 1 commit
  4. 18 Jul, 2022 1 commit
  5. 16 Jul, 2022 1 commit
    • Dimitris Lampridis's avatar
      hdl/sim: Protect CIWBMasterAccessor against multiple requests · e85a2855
      Dimitris Lampridis authored
      When performing reads/writes from multiple threads, CIWBMasterAccessor does not provide any
      protection, leading to data from one request being delivered to another.
      
      By replacing the data queues with SV mailboxes, we ensure that only one thread can access the
      mailbox at any given time. Furthermore, we add a SV event in wb_cycle_t, which is used to notify
      the readm()/writem() tasks that their transfer is complete, to avoid getting the result of the
      wrong transfer.
      e85a2855
  6. 28 Jun, 2022 16 commits
  7. 31 May, 2022 1 commit
  8. 01 Oct, 2021 1 commit
  9. 30 Sep, 2021 1 commit
  10. 29 Sep, 2021 2 commits
  11. 28 Sep, 2021 2 commits
  12. 09 Aug, 2021 1 commit
  13. 21 Jan, 2021 1 commit
  14. 18 Jan, 2021 1 commit
  15. 15 Jan, 2021 1 commit
  16. 12 Jan, 2021 3 commits
  17. 16 Dec, 2020 1 commit
  18. 09 Dec, 2020 2 commits
  19. 01 Oct, 2020 1 commit