mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
Detect FF functions that use parentheses.
Signed-off-by: Mike Inouye <[email protected]>
This commit is contained in:
committed by
Emil J. Tywoniak
parent
057dbbdca3
commit
083daf1a87
@@ -102,6 +102,9 @@ static bool parse_next_state(const LibertyAst *cell, const LibertyAst *attr, std
|
|||||||
} else if (expr[0] == '!') {
|
} else if (expr[0] == '!') {
|
||||||
data_name = expr.substr(1, expr.size()-1);
|
data_name = expr.substr(1, expr.size()-1);
|
||||||
data_not_inverted = false;
|
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 {
|
} else {
|
||||||
data_name = expr;
|
data_name = expr;
|
||||||
data_not_inverted = true;
|
data_not_inverted = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user