Entity: oh_mux2

Diagram

N sel1 sel0 [N-1:0] in1 [N-1:0] in0 [N-1:0] out

Description

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

Function: 2: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
sel1 input
sel0 input
in1 input [N-1:0]
in0 input [N-1:0]
out output [N-1:0] selected data output