mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-20 04:43:40 +00:00
ilang, ast: Store parameter order and default value information.
Fixes #1819, #1820.
This commit is contained in:
parent
79efaa65ad
commit
06a344efcb
6 changed files with 27 additions and 9 deletions
|
@ -1074,8 +1074,6 @@ static AstModule* process_module(AstNode *ast, bool defer, AstNode *original_ast
|
|||
if (child->type == AST_WIRE && (child->is_input || child->is_output)) {
|
||||
new_children.push_back(child);
|
||||
} else if (child->type == AST_PARAMETER) {
|
||||
child->delete_children();
|
||||
child->children.push_back(AstNode::mkconst_int(0, false, 0));
|
||||
new_children.push_back(child);
|
||||
} else if (child->type == AST_CELL && child->children.size() > 0 && child->children[0]->type == AST_CELLTYPE &&
|
||||
(child->children[0]->str == "$specify2" || child->children[0]->str == "$specify3" || child->children[0]->str == "$specrule")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue