enjoy-digital / litepcie

Small footprint and configurable PCIe core
Other
468 stars 116 forks source link

Figure out if the cocotbext-pcie library can be used to test litepcie? #47

Closed mithro closed 3 years ago

mithro commented 3 years ago

Just recently found PCI express simulation framework for Cocotb. I wonder if it makes any sense to try and use this to help verify LitePCIe?

enjoy-digital commented 3 years ago

This could indeed be useful to test the core against another model but we should probably first improve the unit-tests of the core (as we did recently with LiteDRAM for example). Better unit-tests would allow doing simplifications/cleanups to the core (for example https://github.com/enjoy-digital/litepcie/commit/64d1f76304bc53b2b0109163433c5518c9a48731) that are difficult to do with confidence now.