otsdaq_prepmodernization
v2_05_02_indev
Return to top level
Main Page
Classes
Files
File List
CRC_splice.vhd
1
----------------------------------------------------------------------------------
2
-- Company: FNAL
3
-- Engineer: Ryan Rivera
4
--
5
-- Create Date: 16:52:08 12/04/2007
6
-- Design Name:
7
-- Module Name: CRC_splice - 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
CRC_splice
is
31
Port
(
data
:
in
STD_LOGIC_VECTOR
(
7
downto
0
)
;
32
crc
:
in
STD_LOGIC_VECTOR
(
7
downto
0
)
;
33
rd
:
in
STD_LOGIC
;
34
dataout
:
out
STD_LOGIC_VECTOR
(
7
downto
0
)
)
;
35
end
CRC_splice
;
36
37
architecture
Behavioral
of
CRC_splice
is
38
39
begin
40
41
process
(rd,crc,data)
42
begin
43
44
if
rd
=
'
1
'
then
45
dataout
<=
crc
;
46
else
47
dataout
<=
data
;
48
end
if
;
49
50
end
process
;
51
52
end
Behavioral
;
53
CRC_splice
Definition:
CRC_splice.vhd:30
otsdaq_prepmodernization
firmware
g-2
KickerControllerFirmware
GEL_CAPTAN
CRC_splice.vhd
Generated on Wed Apr 29 2020 18:41:40 for otsdaq_prepmodernization by
1.8.5