Entity: oh_mux5

Diagram

N sel4 sel3 sel2 sel1 sel0 [N-1:0] in4 [N-1:0] in3 [N-1:0] in2 [N-1:0] in1 [N-1:0] in0 [N-1:0] out

Description

#############################################################################

Function: 5:1 one hot mux

#############################################################################

Author: Andreas Olofsson

License: MIT (see LICENSE file in OH! repository)

#############################################################################

Generics

Generic name Type Value Description
N 1 width of mux

Ports

Port name Direction Type Description
sel4 input
sel3 input
sel2 input
sel1 input
sel0 input
in4 input [N-1:0]
in3 input [N-1:0]
in2 input [N-1:0]
in1 input [N-1:0]
in0 input [N-1:0]
out output [N-1:0] selected data output