Update peakrdl plugin to extend from base class
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
|
from peakrdl.plugins.exporter import ExporterSubcommandPlugin #pylint: disable=import-error
|
||||||
|
|
||||||
from .exporter import RegblockExporter
|
from .exporter import RegblockExporter
|
||||||
from .cpuif import apb3, apb4, axi4lite, passthrough, CpuifBase
|
from .cpuif import apb3, apb4, axi4lite, passthrough, CpuifBase
|
||||||
from .udps import ALL_UDPS
|
from .udps import ALL_UDPS
|
||||||
@@ -31,7 +33,7 @@ for ep, dist in entry_points.get_entry_points("peakrdl_regblock.cpuif"):
|
|||||||
CPUIF_DICT[name] = cpuif
|
CPUIF_DICT[name] = cpuif
|
||||||
|
|
||||||
|
|
||||||
class Exporter:
|
class Exporter(ExporterSubcommandPlugin):
|
||||||
short_desc = "Generate a SystemVerilog control/status register (CSR) block"
|
short_desc = "Generate a SystemVerilog control/status register (CSR) block"
|
||||||
|
|
||||||
udp_definitions = ALL_UDPS
|
udp_definitions = ALL_UDPS
|
||||||
|
|||||||
Reference in New Issue
Block a user