projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5870564
)
Also interpret '&' in liberty functions
author
Sergiusz Bazanski
<q3k@q3k.org>
Sat, 12 May 2018 18:53:24 +0000
(19:53 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 12 May 2018 18:55:31 +0000
(20:55 +0200)
frontends/liberty/liberty.cc
patch
|
blob
|
history
diff --git
a/frontends/liberty/liberty.cc
b/frontends/liberty/liberty.cc
index 877b1883e3cb93c34c4907107488cf227727f1f5..c9b6a54b2a9a81f28a964dca30fce7bef6791057 100644
(file)
--- a/
frontends/liberty/liberty.cc
+++ b/
frontends/liberty/liberty.cc
@@
-188,7
+188,7
@@
static RTLIL::SigSpec parse_func_expr(RTLIL::Module *module, const char *expr)
}
token_t next_token(0);
- if (*expr == '(' || *expr == ')' || *expr == '\'' || *expr == '!' || *expr == '^' || *expr == '*' || *expr == '+' || *expr == '|')
+ if (*expr == '(' || *expr == ')' || *expr == '\'' || *expr == '!' || *expr == '^' || *expr == '*' || *expr == '+' || *expr == '|'
|| *expr == '&'
)
next_token = token_t(*(expr++));
else
next_token = token_t(0, parse_func_identifier(module, expr));