mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
Detect FF functions that use parentheses.
Signed-off-by: Mike Inouye <mikeinouye@google.com>
This commit is contained in:
parent
4b4cdf75b8
commit
b7d7b377fd
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ static bool parse_next_state(const LibertyAst *cell, const LibertyAst *attr, std
|
|||
} else if (expr[0] == '!') {
|
||||
data_name = expr.substr(1, expr.size()-1);
|
||||
data_not_inverted = false;
|
||||
} else if (expr[0] == '(' && expr[expr.size() - 1] == ')') {
|
||||
data_name = expr.substr(1, expr.size() - 2);
|
||||
data_not_inverted = true;
|
||||
} else {
|
||||
data_name = expr;
|
||||
data_not_inverted = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue