Skip to content

Commit

Permalink
Update peakrdl plugin to extend from base class
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Mar 12, 2023
1 parent 8830968 commit aec9ad4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/peakrdl_uvm/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.2.0"
__version__ = "2.3.0"
4 changes: 3 additions & 1 deletion src/peakrdl_uvm/__peakrdl__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
from typing import TYPE_CHECKING

from peakrdl.plugins.exporter import ExporterSubcommandPlugin #pylint: disable=import-error

from .exporter import UVMExporter

if TYPE_CHECKING:
import argparse
from systemrdl.node import AddrmapNode


class Exporter:
class Exporter(ExporterSubcommandPlugin):
short_desc = "Generate a UVM register model"

def add_exporter_arguments(self, arg_group: 'argparse.ArgumentParser') -> None:
Expand Down

0 comments on commit aec9ad4

Please sign in to comment.