Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Oct 12, 2023
1 parent b1fc5da commit d9baa03
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/peakrdl_uvm/exporter.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d9baa03

Please sign in to comment.