Processes | |
mask_trig | ( CLK ) |
mask triggers | |
Components | |
edge | <Entity edge> |
Edge detection. | |
Signals | |
cnt | std_logic_vector ( 4 downto 0 ) := ( others = > ' 0 ' ) |
trig_i | std_logic := ' 0 ' |
Component Instantiations | |
make_edge | edge <Entity edge> |
Busy module for masking triggers with variable deadtime
Definition at line 49 of file busy.vhd.
mask_trig | ( CLK ) |
mask triggers
Definition at line 66 of file busy.vhd.
00066 mask_trig : process(CLK) 00067 begin 00068 if CLK'event and CLK = '1' then 00069 if RES = '1' then 00070 cnt <= (others => '0'); 00071 else 00072 if TRIG_IN = '1' then 00073 if cnt = DEAD-1 then 00074 trig_i <= '1'; 00075 cnt <= (others => '0'); 00076 else 00077 cnt <= cnt + 1; 00078 trig_i <= '0'; 00079 end if; 00080 else 00081 cnt <= cnt; 00082 end if; 00083 end if; 00084 end if; 00085 end process mask_trig;
edge [Component] |