summaryrefslogtreecommitdiff
path: root/frontends/ilang/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/ilang/parser.y')
-rw-r--r--frontends/ilang/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y
index dcb51d44..3fe5199f 100644
--- a/frontends/ilang/parser.y
+++ b/frontends/ilang/parser.y
@@ -369,13 +369,13 @@ sigspec:
TOK_ID '[' TOK_INT ']' {
if (current_module->wires.count($1) == 0)
rtlil_frontend_ilang_yyerror(stringf("ilang error: wire %s not found", $1).c_str());
- $$ = new RTLIL::SigSpec(RTLIL::SigSpec::grml(current_module->wires[$1], $3));
+ $$ = new RTLIL::SigSpec(current_module->wires[$1], $3);
free($1);
} |
TOK_ID '[' TOK_INT ':' TOK_INT ']' {
if (current_module->wires.count($1) == 0)
rtlil_frontend_ilang_yyerror(stringf("ilang error: wire %s not found", $1).c_str());
- $$ = new RTLIL::SigSpec(RTLIL::SigSpec::grml(current_module->wires[$1], $5, $3 - $5 + 1));
+ $$ = new RTLIL::SigSpec(current_module->wires[$1], $5, $3 - $5 + 1);
free($1);
} |
'{' sigspec_list '}' {