diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-11-20 19:55:52 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-11-20 19:55:52 +0100 |
commit | 08ceb3729ed4eced7a4d9485878277cee710b41d (patch) | |
tree | 48a905ad3e182f753d71a50f7c41724527099d42 /frontends/ilang | |
parent | 2279b2a196aeaf16e853b09f2e00ad74e9c614ad (diff) | |
download | yosys-08ceb3729ed4eced7a4d9485878277cee710b41d.tar.gz yosys-08ceb3729ed4eced7a4d9485878277cee710b41d.tar.bz2 yosys-08ceb3729ed4eced7a4d9485878277cee710b41d.zip |
Fixed ilang parser: memory width
Diffstat (limited to 'frontends/ilang')
-rw-r--r-- | frontends/ilang/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
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; |