Skip to content

Commit 02d2a2a

Browse files
committed
wip
1 parent 52a4021 commit 02d2a2a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

systemverilog-plugin/UhdmAst.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,10 @@ static void simplify_sv(AST::AstNode *current_node, AST::AstNode *parent_node)
12821282
if (current_node->str == "$display" || current_node->str == "$write")
12831283
simplify_format_string(current_node);
12841284
break;
1285+
case AST::AST_FCALL:
1286+
while (simplify(current_node, true, false, false, 1, -1, false, false)) {
1287+
};
1288+
break;
12851289
case AST::AST_COND:
12861290
case AST::AST_CONDX:
12871291
case AST::AST_CONDZ:

systemverilog-plugin/third_party/yosys/simplify.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ using namespace ::Yosys::AST_INTERNAL;
5454

5555
void detect_sign_width_proxy(Yosys::AST::AstNode * node, int& width, bool& sign, bool *found_real = NULL) {
5656
if (node->type == Yosys::AST::AST_IDENTIFIER && node->id2ast && node->id2ast->type == Yosys::AST::AST_TYPEDEF) {
57-
node->id2ast->dumpAst(nullptr, "---------");
5857
node->id2ast = node->id2ast->children[0];
5958
}
6059
node->detectSignWidth(width, sign, found_real);

0 commit comments

Comments
 (0)