Sign in
foss-eda-tools
/
skywater-pdk
/
libs
/
sky130_osu_sc
/
e7912ea651a1c62101e17d8f84edad7d1c93460b
/
.
/
flow
/
synth_snpsRISCV
/
hdl
/
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