summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/ilang/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y
index 3d474d00..b889a998 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;