s_rst(i)<='1'whenData_i(i)='1'ands_data_i_d(i)='0'else-- We assume that Data_i always arrives synchronously and we want to reproduce the strech behaviour
-- Created using using Mentor Graphics HDL Designer(TM) 2010.3 (Build 21)
--
LIBRARYieee;
USEieee.std_logic_1164.all;
USEieee.numeric_std.all;
...
...
@@ -57,6 +58,7 @@ USE work.fmcTLU.all;
ENTITYtriggerLogicIS
GENERIC(
g_NUM_INPUTS:positive:=4;
g_DELAYSTRECH_WIDTH:positive:=16;
g_IPBUS_WIDTH:positive:=32
);
PORT(
...
...
@@ -93,6 +95,7 @@ ARCHITECTURE rtl OF triggerLogic IS
signals_pre_veto_trigger_counter_ipb,s_post_veto_trigger_counter_ipb:std_logic_vector(g_IPBUS_WIDTH-1downto0):=(others=>'0');-- ! counters for triggers before and after veto, on ipbus clock domain