From afb75dec069269ad8ac95fa4d7efde687037e4d7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 20:47:11 +0000 Subject: [PATCH] Changed Array to Seq in MuxLookup explantation (#3547) (#3549) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 1ae807acc6b6aaa15eb6e326dae2adb430e9db08) Co-authored-by: Mads Rumle Nordstrøm <85681203+madsrumlenordstrom@users.noreply.github.com> --- docs/src/explanations/muxes-and-input-selection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/explanations/muxes-and-input-selection.md b/docs/src/explanations/muxes-and-input-selection.md index 3e8a503b1a1..c4d73a620d0 100644 --- a/docs/src/explanations/muxes-and-input-selection.md +++ b/docs/src/explanations/muxes-and-input-selection.md @@ -34,7 +34,7 @@ array [ condition -> selected_input_port ]. Chisel also provides `MuxLookup` which is an n-way indexed multiplexer: ```scala -MuxLookup(idx, default)(Array(0.U -> a, 1.U -> b, ...)) +MuxLookup(idx, default)(Seq(0.U -> a, 1.U -> b, ...)) ``` This is the same as a `MuxCase`, where the conditions are all index based selection: