CMX
CMX firmware code in-line documentation
Main Page
Packages
Design Unit List
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
compExch.vhd
Go to the documentation of this file.
1
11
12
library
IEEE
;
13
use
IEEE
.STD_LOGIC_1164.
ALL
;
14
15
-- Uncomment the following library declaration if using
16
-- arithmetic functions with Signed or Unsigned values
17
use
IEEE
.NUMERIC_STD.
ALL
;
18
19
use
work.
CMXpackage
.
all
;
20
use
work.
CMX_flavor_package
.
all
;
21
22
23
entity
compExch
is
24
Port
(
25
A
,
B
:
in
EmTauTOB
;
26
H
,
L
:
out
EmTauTOB
)
;
27
28
end
compExch
;
29
30
architecture
Behavioral
of
compExch
is
31
32
signal
FlippedPair
:
arr_TOB
(
1
downto
0
)
;
33
signal
UnFlippedPair
:
arr_TOB
(
1
downto
0
)
;
34
signal
ResultPair
:
arr_TOB
(
1
downto
0
)
;
35
36
begin
37
38
UnFlippedPair
(
0
)
<=
A
;
39
UnFlippedPair
(
1
)
<=
B
;
40
41
FlippedPair
(
0
)
<=
B
;
42
FlippedPair
(
1
)
<=
A
;
43
44
ResultPair
<=
UnFlippedPair
when
A
.
CLE
>=
B
.
CLE
else
FlippedPair
;
45
46
H
<=
ResultPair
(
0
)
;
47
L
<=
ResultPair
(
1
)
;
48
49
50
end
Behavioral
;
51
compExch.IEEE
_library_ IEEEIEEE
Definition:
compExch.vhd:12
compExch.B
in BJetTOB
Definition:
compExch.vhd:25
compExch.H
out HJetTOB
Definition:
compExch.vhd:26
compExch.Behavioral.FlippedPair
arr_TOB (1 downto 0) FlippedPair
Definition:
compExch.vhd:32
compExch.A
in AJetTOB
Definition:
compExch.vhd:25
CMXpackage
Definition:
CMXpackage.vhd:12
compExch.Behavioral.ResultPair
arr_TOB (1 downto 0) ResultPair
Definition:
compExch.vhd:34
CMX_flavor_package
Definition:
CMX_flavor_package.vhd:19
compExch
Definition:
compExch.vhd:23
compExch.L
out LJetTOB
Definition:
compExch.vhd:26
compExch.Behavioral.UnFlippedPair
arr_TOB (1 downto 0) UnFlippedPair
Definition:
compExch.vhd:33
CP
CP_common
trunk
sources
compExch.vhd
Generated on Thu Mar 3 2016 09:59:17 for CMX by
1.8.6