aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorazidar2016-01-15 15:45:41 -0800
committerazidar2016-01-16 11:45:00 -0800
commitf3af49a75c2969484e07447223c7cde6852a0119 (patch)
tree973cf9de6ce3d3b7b22e88111640081e7ebca60b /src
parentb0cb00aa8c8bf1d546e354928d8dea076bb5022f (diff)
Extraction inputs are no longer cast
Diffstat (limited to 'src')
-rw-r--r--src/main/stanza/verilog.stanza4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/stanza/verilog.stanza b/src/main/stanza/verilog.stanza
index 0e1c97c3..9bbb9aae 100644
--- a/src/main/stanza/verilog.stanza
+++ b/src/main/stanza/verilog.stanza
@@ -152,8 +152,8 @@ defn emit (e:Expression) -> String :
BIT-OR-OP : [emit-as-type(args(e)[0],type(e)) " | " emit-as-type(args(e)[1],type(e))]
BIT-XOR-OP : [emit-as-type(args(e)[0],type(e)) " ^ " emit-as-type(args(e)[1],type(e))]
CONCAT-OP : ["{" emit-as-type(args(e)[0],type(e)) "," emit-as-type(args(e)[1],type(e)) "}"]
- BIT-SELECT-OP : [emit-as-type(args(e)[0],type(e)) "[" consts(e)[0] "]"]
- BITS-SELECT-OP : [emit-as-type(args(e)[0],type(e)) "[" consts(e)[0] ":" consts(e)[1] "]"]
+ BIT-SELECT-OP : [emit(args(e)[0]) "[" consts(e)[0] "]"]
+ BITS-SELECT-OP : [emit(args(e)[0]) "[" consts(e)[0] ":" consts(e)[1] "]"]
BIT-AND-REDUCE-OP :
var v = emit-as-type(args(e)[0],type(e))
for x in tail(args(e)) do :