Generated by EASE/HDL for peterj on Mon Jul 02 10:55:28 2007

Documentation for architecture MROD_X_Out/Latch/a0

Contents Side Data Generated HDL

VHDL Contents

    1  -- EASE/HDL begin --------------------------------------------------------------
    2  -- 
    3  -- Architecture 'a0' of entity 'Latch'.
    4  -- 
    5  --------------------------------------------------------------------------------
    6  -- 
    7  -- Copy of the interface declaration:
    8  -- 
    9  --   generic(
   10  --     n :  positive := 8);
   11  --   port(
   12  --     Clk   : in     std_logic;
   13  --     En    : in     std_logic;
   14  --     I     : in     std_logic_vector(n-1 downto 0);
   15  --     O     : out    std_logic_vector(n-1 downto 0);
   16  --     Rst_n : in     std_logic);
   17  -- 
   18  -- EASE/HDL end ----------------------------------------------------------------
   19  
   20  architecture a0 of Latch is
   21  
   22  begin
   23     Process (Clk, Rst_n)
   24     Begin
   25        If Rst_n = '0' Then
   26           O <= (Others => '0');
   27        ElsIf Rising_Edge(Clk) Then
   28           If En = '1' Then
   29              O <= I;
   30           End If;
   31        End If;
   32     End Process;
   33  end architecture a0 ; -- of Latch
   34