##// 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:

r168:0b190be76d60 alexis
r336:d05a1ff29f0e (MINI-LFR) WFP_MS-0-1-9 JC
Show More
Serial_Driver_Multiplexor.vhd
33 lines | 723 B | text/x-vhdl | VhdlLexer
/ lib / lpp / Rocket_PCM_Encoder / Serial_Driver_Multiplexor.vhd
-- Serial_Driver_Multiplexor.vhd
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.numeric_std.all;
entity Serial_Driver_Multiplexor is
generic(InputCnt : integer := 2;inputSize : integer:=8);
port(
clk : in std_logic;
Sel : in integer range 0 to InputCnt-1;
input : in std_logic_vector(InputCnt*inputSize-1 downto 0);
output : out std_logic_vector(inputSize-1 downto 0)
);
end entity;
architecture ar_Serial_Driver_Multiplexor of Serial_Driver_Multiplexor is
begin
process(clk)
begin
if clk'event and clk = '1' then
output <= input((Sel+1)*inputSize-1 downto (Sel)*inputSize);
end if;
end process;
end ar_Serial_Driver_Multiplexor;