Skip to content

Commit 7024b7f

Browse files
committed
Remove dangerous usage of non-public parts of the systemrdl-compiler API
1 parent 416e2a4 commit 7024b7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "peakrdl-uvm"
77
dynamic = ["version"]
88
requires-python = ">=3.7"
99
dependencies = [
10-
"systemrdl-compiler ~= 1.30",
10+
"systemrdl-compiler ~= 1.31",
1111
"jinja2 >= 2.9",
1212
]
1313

src/peakrdl_uvm/exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _get_class_friendly_name(self, node: Node) -> str:
213213
else:
214214
friendly_name = node.get_rel_path(self.top.parent)
215215

216-
return type(node.inst).__name__ + " - " + friendly_name
216+
return node.component_type_name + " - " + friendly_name
217217

218218

219219
def _get_inst_name(self, node: Node) -> str:

0 commit comments

Comments
 (0)