diff --git a/src/peakrdl_uvm/exporter.py b/src/peakrdl_uvm/exporter.py index 8714cc0..8062f90 100644 --- a/src/peakrdl_uvm/exporter.py +++ b/src/peakrdl_uvm/exporter.py @@ -1,12 +1,10 @@ import os import re -from typing import Optional import jinja2 as jj from systemrdl.node import RootNode, Node, RegNode, AddrmapNode, RegfileNode from systemrdl.node import FieldNode, MemNode, AddressableNode from systemrdl.rdltypes import AccessType, OnReadType, OnWriteType -from systemrdl.component import Root from systemrdl import RDLWalker from .pre_export_listener import PreExportListener @@ -172,21 +170,6 @@ def _get_include_guard(self, path: str) -> str: return s - def _get_class_name_new(self, node: Node) -> str: - """ - Returns the class type name. - Shall be unique enough to prevent type name collisions - """ - if self.reuse_class_definitions: - pass - else: - class_name = node.get_rel_path( - self.top.parent, - hier_separator="__", array_suffix="", empty_array_suffix="" - ) - - return class_name - def _get_class_name(self, node: Node) -> str: """ Returns the class type name.