mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 10:35:38 +00:00
Removed $predict again
This commit is contained in:
parent
66582964bc
commit
eae390ae17
15 changed files with 7 additions and 38 deletions
|
@ -114,7 +114,7 @@ static void free_attr(std::map<std::string, AstNode*> *al)
|
|||
%token TOK_SYNOPSYS_FULL_CASE TOK_SYNOPSYS_PARALLEL_CASE
|
||||
%token TOK_SUPPLY0 TOK_SUPPLY1 TOK_TO_SIGNED TOK_TO_UNSIGNED
|
||||
%token TOK_POS_INDEXED TOK_NEG_INDEXED TOK_ASSERT TOK_ASSUME
|
||||
%token TOK_RESTRICT TOK_PREDICT TOK_PROPERTY
|
||||
%token TOK_RESTRICT TOK_PROPERTY
|
||||
|
||||
%type <ast> range range_or_multirange non_opt_range non_opt_multirange range_or_signed_int
|
||||
%type <ast> wire_type expr basic_expr concat_list rvalue lvalue lvalue_concat_list
|
||||
|
@ -1006,9 +1006,6 @@ assert:
|
|||
delete $3;
|
||||
else
|
||||
ast_stack.back()->children.push_back(new AstNode(AST_ASSUME, $3));
|
||||
} |
|
||||
TOK_PREDICT '(' expr ')' ';' {
|
||||
ast_stack.back()->children.push_back(new AstNode(AST_PREDICT, $3));
|
||||
};
|
||||
|
||||
assert_property:
|
||||
|
@ -1023,9 +1020,6 @@ assert_property:
|
|||
delete $4;
|
||||
else
|
||||
ast_stack.back()->children.push_back(new AstNode(AST_ASSUME, $4));
|
||||
} |
|
||||
TOK_PREDICT TOK_PROPERTY '(' expr ')' ';' {
|
||||
ast_stack.back()->children.push_back(new AstNode(AST_PREDICT, $4));
|
||||
};
|
||||
|
||||
simple_behavioral_stmt:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue