-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSelect_5.v
More file actions
33 lines (32 loc) · 751 Bytes
/
Select_5.v
File metadata and controls
33 lines (32 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 11:49:37 04/14/2016
// Design Name:
// Module Name: Select_5
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module Select_5( // 5λѡÔñÆ÷
input [1:0] en, // Ñ¡ÔñÐźÅ
input [4:0] in0, in1, in2,
output reg [4:0] out);
always @ (*)
case (en)
2'b00: out = in0;
2'b01: out = in1;
2'b10: out = in2;
2'b11: ;
endcase
endmodule