7 use ieee.std_logic_1164.all ;
 
  15         REG_IN  :in             std_logic_vector(7 downto 0);
 
  16         REG_OUT :out    std_logic_vector(7 downto 0) 
 
  20 architecture REG_DESIGN of REG is
 
  22         signal SIG_REG  :std_logic_vector (7 downto 0);
 
  28                 if (CLOCK'event and CLOCK = '1') then
 
  29                         if                      RESET   =       '1'     then    SIG_REG <= X"00";
 
  30                                 elsif   WRITE   =       '1'     then    SIG_REG <= REG_IN;
 
  31                                 else                                                                            SIG_REG <= SIG_REG;
 
  38 end architecture REG_DESIGN;