aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-05-12 19:53:24 +0100
committerClifford Wolf <clifford@clifford.at>2018-05-12 20:55:31 +0200
commit7d076f071e83f1533623f2508794e28c79e02294 (patch)
treef92b046759de2cc9ab0ff68ab2e1d850ae4f7de3
parent587056447e20a3240d72392232b370790426613c (diff)
downloadyosys-7d076f071e83f1533623f2508794e28c79e02294.tar.gz
yosys-7d076f071e83f1533623f2508794e28c79e02294.tar.bz2
yosys-7d076f071e83f1533623f2508794e28c79e02294.zip
Also interpret '&' in liberty functions
-rw-r--r--frontends/liberty/liberty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/liberty/liberty.cc b/frontends/liberty/liberty.cc
index 877b1883e..c9b6a54b2 100644
--- 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));