From b831252d8166932c137c8c9fc63ea879242046f2 Mon Sep 17 00:00:00 2001 From: Alex Mykyta Date: Wed, 26 May 2021 20:38:18 -0700 Subject: [PATCH] Warn about lack of support for bridges --- peakrdl/html/__about__.py | 2 +- peakrdl/html/exporter.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/peakrdl/html/__about__.py b/peakrdl/html/__about__.py index 9aa3f90..58039f5 100644 --- a/peakrdl/html/__about__.py +++ b/peakrdl/html/__about__.py @@ -1 +1 @@ -__version__ = "2.1.0" +__version__ = "2.1.1" diff --git a/peakrdl/html/exporter.py b/peakrdl/html/exporter.py index 13e410a..04234ee 100755 --- a/peakrdl/html/exporter.py +++ b/peakrdl/html/exporter.py @@ -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