Sign in
foss-eda-tools
/
skywater-pdk
/
libs
/
sky130_osu_sc
/
d038eebffecb547d3a7094a3b48ad978389e91ab
/
.
/
flow
/
RV32i
/
mux3.sv
blob: b8c760624cf17165b0e0493b76143fa8a25eda8f [
file
] [
log
] [
blame
]
module
mux3
#(parameter WIDTH = 8)
(
input logic
[
WIDTH
-
1
:
0
]
d0
,
d1
,
d2
,
input logic
[
1
:
0
]
s
,
output logic
[
WIDTH
-
1
:
0
]
y
);
assign y
=
s
[
1
]
?
d2
:
(
s
[
0
]
?
d1
:
d0
);
endmodule
// mux3