From: Clifford Wolf Date: Wed, 20 Nov 2013 18:55:52 +0000 (+0100) Subject: Fixed ilang parser: memory width X-Git-Tag: yosys-0.2.0~346 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08ceb3729ed4eced7a4d9485878277cee710b41d;p=yosys.git Fixed ilang parser: memory width --- diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y index 3d474d005..b889a9989 100644 --- a/frontends/ilang/parser.y +++ b/frontends/ilang/parser.y @@ -165,7 +165,7 @@ memory_stmt: memory_options: memory_options TOK_WIDTH TOK_INT { - current_wire->width = $3; + current_memory->width = $3; } | memory_options TOK_SIZE TOK_INT { current_memory->size = $3;