##// END OF EJS Templates
Update APB_TIME_MANAGEMENT :...
Update APB_TIME_MANAGEMENT : If LFR is desynchronized, the LFR is resynchronized only if there is a tick (or soft_tick) and a new TCU The TCU is a vector of 31 bits (30 downto 0). Now, there is a ctrl bit to soft reset the apb_time_management. After a reset (and a soft reset), the APB_TM is desynchronized and the CT value is 0x80000000.

File last commit:

r219:df1aff8cd31b alexis
r336:d05a1ff29f0e (MINI-LFR) WFP_MS-0-1-9 JC
Show More
DC_GATE_GEN.vhd
52 lines | 1.0 KiB | text/x-vhdl | VhdlLexer
-- DC_GATE_GEN.vhd
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
entity DC_GATE_GEN is
generic(WordCnt : integer := 144);
port
(
clk : in std_logic;
Wcount : in integer range 0 to WordCnt-1;
Gate : out std_logic
);
end entity;
architecture ar_DC_GATE_GEN of DC_GATE_GEN is
begin
process(clk)
begin
if clk'event and clk ='0' then
case Wcount is
when 48 =>
gate <= '1';
when 49 =>
gate <= '1';
when 50 =>
gate <= '1';
when 51 =>
gate <= '1';
when 52 =>
gate <= '1';
when 53 =>
gate <= '1';
when others =>
gate <= '0';
end case;
end if;
end process;
end architecture;