summaryrefslogtreecommitdiff
path: root/frontends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-20 19:55:52 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-20 19:55:52 +0100
commit08ceb3729ed4eced7a4d9485878277cee710b41d (patch)
tree48a905ad3e182f753d71a50f7c41724527099d42 /frontends/ilang
parent2279b2a196aeaf16e853b09f2e00ad74e9c614ad (diff)
Fixed ilang parser: memory width
Diffstat (limited to 'frontends/ilang')
-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;