From: Sergiusz Bazanski Date: Sat, 12 May 2018 18:53:24 +0000 (+0100) Subject: Also interpret '&' in liberty functions X-Git-Tag: yosys-0.8~101 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d076f071e83f1533623f2508794e28c79e02294;p=yosys.git Also interpret '&' in liberty functions --- 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));