------------------------------------------
------------------------------------------
-- Date        : Sun Mar 20 21:13:01 2005
--
-- Author      : 
--
-- Company     : 
--
-- Description : 
--
------------------------------------------
------------------------------------------
library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;


entity  t_decode  is
port (bclk : in std_logic ;
      lreset : in std_logic ;
      tstamp_err : out std_logic ;
      fiber_in : in std_logic_vector (15 downto 0);
      msk1 : in std_logic_vector (47 downto 0);
      msk2 : in std_logic_vector (47 downto 0);
      timestamp : out std_logic_vector (47 downto 0);     
      tstamp_lsw : out std_logic_vector (15 downto 0)
);
end;