mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3755 from RTLWorks/muthu/issue3498
[YOSYS] Issue #3498 - Fix Synopsys style unquoted Liberty style
This commit is contained in:
commit
acfdc5cc42
|
@ -236,10 +236,10 @@ LibertyAst *LibertyParser::parse()
|
|||
|
||||
if (tok == ':' && ast->value.empty()) {
|
||||
tok = lexer(ast->value);
|
||||
if (tok != 'v')
|
||||
error();
|
||||
tok = lexer(str);
|
||||
while (tok == '+' || tok == '-' || tok == '*' || tok == '/') {
|
||||
if (tok == 'v') {
|
||||
tok = lexer(str);
|
||||
}
|
||||
while (tok == '+' || tok == '-' || tok == '*' || tok == '/' || tok == '!') {
|
||||
ast->value += tok;
|
||||
tok = lexer(str);
|
||||
if (tok != 'v')
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
library(fake) {
|
||||
cell(bugbad) {
|
||||
bundle(X) {
|
||||
members(x1, x2);
|
||||
power_down_function : !a+b ;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue