feat: Add support for OBI protocol (#158)

Signed-off-by: Daniel Keller <daniel.kellermartinez@csem.ch>
This commit is contained in:
Daniel Keller
2025-09-22 16:54:27 +02:00
committed by Alex Mykyta
parent 18cf2aabc7
commit aa9a21046d
3 changed files with 150 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ from peakrdl.config import schema
from peakrdl.plugins.entry_points import get_entry_points
from .exporter import RegblockExporter
from .cpuif import CpuifBase, apb3, apb4, axi4lite, passthrough, avalon
from .cpuif import CpuifBase, apb3, apb4, axi4lite, passthrough, avalon, obi
from .udps import ALL_UDPS
if TYPE_CHECKING:
@@ -38,6 +38,8 @@ class Exporter(ExporterSubcommandPlugin):
"axi4-lite-flat": axi4lite.AXI4Lite_Cpuif_flattened,
"avalon-mm": avalon.Avalon_Cpuif,
"avalon-mm-flat": avalon.Avalon_Cpuif_flattened,
"obi": obi.OBI_Cpuif,
"obi-flat": obi.OBI_Cpuif_flattened,
}
# Load any cpuifs specified via entry points