Skip to content

Commit 666195e

Browse files
committed
Fix building for antmicro fork
Signed-off-by: Kamil Rakoczy <[email protected]>
1 parent 3559a87 commit 666195e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uhdm-plugin/UhdmAst.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,7 @@ void UhdmAst::process_design()
10251025
shared.top_nodes[node->str] = node;
10261026
}
10271027
});
1028+
#ifdef BUILD_UPSTREAM
10281029
for (auto pair : shared.top_nodes) {
10291030
if (!pair.second)
10301031
continue;
@@ -1035,6 +1036,7 @@ void UhdmAst::process_design()
10351036
clear_current_scope();
10361037
}
10371038
}
1039+
#endif
10381040
// Once we walked everything, unroll that as children of this node
10391041
for (auto pair : shared.top_nodes) {
10401042
if (!pair.second)

0 commit comments

Comments
 (0)