Skip to content

Commit

Permalink
Warn about lack of support for bridges
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed May 27, 2021
1 parent a0dbc97 commit b831252
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion peakrdl/html/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.1.0"
__version__ = "2.1.1"
5 changes: 5 additions & 0 deletions peakrdl/html/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ def export(self, nodes: 'Union[Node, List[Node]]', output_dir: str, **kwargs: 'D

# Traverse trees
for node in nodes:
if node.get_property('bridge'):
node.env.msg.warning(
"HTML generator does not have proper support for bridge addmaps yet. The 'bridge' property will be ignored.",
node.inst.property_src_ref.get('bridge', node.inst.inst_src_ref)
)
self.visit_addressable_node(node)

# Write out RALIndex and other data to js file
Expand Down

0 comments on commit b831252

Please sign in to comment.