Skip to content

Commit a4cbe9f

Browse files
Changed Array to Seq in MuxLookup explantation (#3547) (#3550)
(cherry picked from commit 1ae807a) Co-authored-by: Mads Rumle Nordstrøm <85681203+madsrumlenordstrom@users.noreply.github.com>
1 parent ef12e5b commit a4cbe9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/explanations/muxes-and-input-selection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ array [ condition -> selected_input_port ].
3434
Chisel also provides `MuxLookup` which is an n-way indexed multiplexer:
3535

3636
```scala
37-
MuxLookup(idx, default)(Array(0.U -> a, 1.U -> b, ...))
37+
MuxLookup(idx, default)(Seq(0.U -> a, 1.U -> b, ...))
3838
```
3939

4040
This is the same as a `MuxCase`, where the conditions are all index based selection:

0 commit comments

Comments
 (0)