projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2279b2a
)
Fixed ilang parser: memory width
author
Clifford Wolf
<clifford@clifford.at>
Wed, 20 Nov 2013 18:55:52 +0000
(19:55 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 20 Nov 2013 18:55:52 +0000
(19:55 +0100)
frontends/ilang/parser.y
patch
|
blob
|
history
diff --git
a/frontends/ilang/parser.y
b/frontends/ilang/parser.y
index 3d474d00559537d7e26dea98a420bbc390f1852c..b889a9989f2356d0f117b8a847bd16cfd5e3591e 100644
(file)
--- 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;