OBI: Add testcase support. #157

This commit is contained in:
Alex Mykyta
2025-10-24 19:36:36 -07:00
parent f782c656ca
commit dafd693a1d
4 changed files with 261 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from ..base import CpuifTestMode
from peakrdl_regblock.cpuif.obi import OBI_Cpuif, OBI_Cpuif_flattened
class OBI(CpuifTestMode):
cpuif_cls = OBI_Cpuif
rtl_files = [
"../../../../hdl-src/obi_intf.sv",
]
tb_files = [
"../../../../hdl-src/obi_intf.sv",
"obi_intf_driver.sv",
]
tb_template = "tb_inst.sv"
class FlatOBI(OBI):
cpuif_cls = OBI_Cpuif_flattened
rtl_files = []