edge_det Entity Reference

Data edge detection. More...

Inheritance diagram for edge_det:

Inheritance graph
[legend]
Collaboration diagram for edge_det:

Collaboration graph
[legend]

List of all members.


Architectures

new2 Architecture
 Data edge detection. More...

Libraries

ieee 
 standard IEEE library
work 

Packages

std_logic_1164 
 std_logic definitions, see file
std_logic_arith 
 arithmetic operations on std_logic datatypes, see file
std_logic_unsigned 
 unsigned functions use ieee.std_logic_unsigned.all; operators for std_logic_vector type, see file
numeric_std 
 arithmetic functions use ieee.numeric_std.all; operators for signed use ieee.numeric_std.all; unsigned datatypes, see file
daq_header  Package <daq_header>

Ports

DATA_IN  in std_logic_vector ( 31 downto 0 )
 raw data in
CLK  in std_logic
 clock
SUM_RIS  out std_logic_vector ( 5 downto 0 )
 multiplicity rising
SUM_FAL  out std_logic_vector ( 5 downto 0 )
 multiplicity falling
EDGE_RIS1  out std_logic_vector ( 4 downto 0 )
 position 1st edge rising
EDGE_RIS2  out std_logic_vector ( 4 downto 0 )
 position 2nd edge rising
EDGE_RIS3  out std_logic_vector ( 4 downto 0 )
 position 3rd edge rising
EDGE_FAL1  out std_logic_vector ( 4 downto 0 )
 position 1st edge falling
EDGE_FAL2  out std_logic_vector ( 4 downto 0 )
 position 2nd edge falling
EDGE_FAL3  out std_logic_vector ( 4 downto 0 )
 position 3rd edge falling
STATUS_P1  out std_logic
 valid flag 1st rising
STATUS_P2  out std_logic
 valid flag 2nd rising
STATUS_P3  out std_logic
 valid flag 3rd rising
STATUS_N1  out std_logic
 valid flag 1st falling
STATUS_N2  out std_logic
 valid flag 2nd falling
STATUS_N3  out std_logic
 valid flag 3rd falling


Detailed Description

Data edge detection.

This entity checks the 32bit vector of one RocketIO channel for edges, determines if it's rising or falling and returns those indices in binary. Up to 3 rising and falling edges can be detected. Latency is 6 clock cycles, with one dummy latch inserted for easier alignment with the bunch clock.
Also the multiplicity per edge is determined. Detailed information can be found in these documents: document

Definition at line 45 of file edge_det.vhd.


Member Data Documentation

CLK in std_logic [Port]

clock

Definition at line 48 of file edge_det.vhd.

DATA_IN in std_logic_vector ( 31 downto 0 ) [Port]

raw data in

Definition at line 47 of file edge_det.vhd.

EDGE_FAL1 out std_logic_vector ( 4 downto 0 ) [Port]

position 1st edge falling

Definition at line 54 of file edge_det.vhd.

EDGE_FAL2 out std_logic_vector ( 4 downto 0 ) [Port]

position 2nd edge falling

Definition at line 55 of file edge_det.vhd.

EDGE_FAL3 out std_logic_vector ( 4 downto 0 ) [Port]

position 3rd edge falling

Definition at line 56 of file edge_det.vhd.

EDGE_RIS1 out std_logic_vector ( 4 downto 0 ) [Port]

position 1st edge rising

Definition at line 51 of file edge_det.vhd.

EDGE_RIS2 out std_logic_vector ( 4 downto 0 ) [Port]

position 2nd edge rising

Definition at line 52 of file edge_det.vhd.

EDGE_RIS3 out std_logic_vector ( 4 downto 0 ) [Port]

position 3rd edge rising

Definition at line 53 of file edge_det.vhd.

ieee library [Library]

standard IEEE library

Definition at line 25 of file edge_det.vhd.

numeric_std package [Package]

arithmetic functions use ieee.numeric_std.all; operators for signed use ieee.numeric_std.all; unsigned datatypes, see file

Definition at line 33 of file edge_det.vhd.

STATUS_N1 out std_logic [Port]

valid flag 1st falling

Definition at line 60 of file edge_det.vhd.

STATUS_N2 out std_logic [Port]

valid flag 2nd falling

Definition at line 61 of file edge_det.vhd.

STATUS_N3 out std_logic [Port]

valid flag 3rd falling

Definition at line 62 of file edge_det.vhd.

STATUS_P1 out std_logic [Port]

valid flag 1st rising

Definition at line 57 of file edge_det.vhd.

STATUS_P2 out std_logic [Port]

valid flag 2nd rising

Definition at line 58 of file edge_det.vhd.

STATUS_P3 out std_logic [Port]

valid flag 3rd rising

Definition at line 59 of file edge_det.vhd.

std_logic_1164 package [Package]

std_logic definitions, see file

Definition at line 27 of file edge_det.vhd.

std_logic_arith package [Package]

arithmetic operations on std_logic datatypes, see file

Definition at line 29 of file edge_det.vhd.

std_logic_unsigned package [Package]

unsigned functions use ieee.std_logic_unsigned.all; operators for std_logic_vector type, see file

Definition at line 31 of file edge_det.vhd.

SUM_FAL out std_logic_vector ( 5 downto 0 ) [Port]

multiplicity falling

Definition at line 50 of file edge_det.vhd.

SUM_RIS out std_logic_vector ( 5 downto 0 ) [Port]

multiplicity rising

Definition at line 49 of file edge_det.vhd.


The documentation for this class was generated from the following file:

Author: M.Niegl
Generated on Tue Nov 4 00:51:15 2008 for BCM-AAA by doxygen 1.5.7.1-20081012