13 USE ieee.std_logic_1164.
all;
14 use ieee.numeric_std.
all;
16 LIBRARY infrastructure_lib;
22 NChannels: positive := 4
25 clk_320: in std_logic;
26 rst_status_cntrs: in std_logic;
27 value_bus: in fifo_status_array(NChannels - 1 downto 0);
28 tide_mark_bus: out fifo_status_array(NChannels - 1 downto 0)
36 tide_mark_procs: for i in 0 to NChannels - 1 generate
38 tide_mark_block:
Process(clk_320)
39 Variable tide_mark: unsigned(15 downto 0);
41 if rising_edge(clk_320) then
42 if (rst_status_cntrs = '1') then
43 tide_mark := (Others => '0');
44 elsif (tide_mark < unsigned(value_bus(i))) then
45 tide_mark := unsigned(value_bus(i));
47 tide_mark_bus(i) <= std_logic_vector(tide_mark);
49 End Process tide_mark_block;
51 End generate tide_mark_procs;
Instantiate tide mark calculation for a set of 16 bit values...
Instantiate tide mark calculation for a set of 16 bit values...