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