otsdaq_prepmodernization
v2_05_02_indev
Return to top level
Main Page
Classes
Files
File List
MUX64_4.vhd
1
----------------------------------------------------------------------------------
2
-- Company:
3
-- Engineer:
4
--
5
-- Create Date: 13:41:24 06/18/2008
6
-- Design Name:
7
-- Module Name: MUX64_2 - Behavioral
8
-- Project Name:
9
-- Target Devices:
10
-- Tool versions:
11
-- Description:
12
--
13
-- Dependencies:
14
--
15
-- Revision:
16
-- Revision 0.01 - File Created
17
-- Additional Comments:
18
--
19
----------------------------------------------------------------------------------
20
library
IEEE
;
21
use
IEEE.STD_LOGIC_1164.
ALL
;
22
use
IEEE.STD_LOGIC_ARITH.
ALL
;
23
use
IEEE.STD_LOGIC_UNSIGNED.
ALL
;
24
25
---- Uncomment the following library declaration if instantiating
26
---- any Xilinx primitives in this code.
27
--library UNISIM;
28
--use UNISIM.VComponents.all;
29
30
entity
MUX64_4
is
31
Port
(
in0
:
in
STD_LOGIC_VECTOR
(
63
downto
0
)
;
32
in1
:
in
STD_LOGIC_VECTOR
(
63
downto
0
)
;
33
in2
:
in
STD_LOGIC_VECTOR
(
63
downto
0
)
;
34
in3
:
in
STD_LOGIC_VECTOR
(
63
downto
0
)
;
35
sel
:
in
STD_LOGIC_VECTOR
(
1
downto
0
)
;
36
muxout
:
out
STD_LOGIC_VECTOR
(
63
downto
0
)
)
;
37
end
MUX64_4
;
38
39
architecture
Behavioral
of
MUX64_4
is
40
41
begin
42
43
process
(sel,in0,in1,in2,in3)
44
begin
45
46
if
sel
=
0
then
muxout
<=
in0
;
47
48
elsif
sel
=
1
then
muxout
<=
in1
;
49
elsif
sel
=
2
then
muxout
<=
in2
;
50
elsif
sel
=
3
then
muxout
<=
in3
;
51
52
end
if
;
53
end
process
;
54
end
Behavioral
;
55
MUX64_4
Definition:
MUX64_4.vhd:30
otsdaq_prepmodernization
firmware
g-2
KickerControllerFirmware
GEL_CAPTAN
MUX64_4.vhd
Generated on Wed Apr 29 2020 18:41:42 for otsdaq_prepmodernization by
1.8.5