Merge pull request #3755 from RTLWorks/muthu/issue3498

[YOSYS] Issue #3498 - Fix Synopsys style unquoted Liberty style
This commit is contained in:
Miodrag Milanović 2023-05-15 16:34:35 +02:00 committed by GitHub
commit acfdc5cc42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -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')

View File

@ -0,0 +1,8 @@
library(fake) {
cell(bugbad) {
bundle(X) {
members(x1, x2);
power_down_function : !a+b ;
}
}
}