This didn't compile.
authorMalte S. Stretz <mss@apache.org>
Thu, 16 Jul 2009 10:52:55 +0000 (12:52 +0200)
committerMalte S. Stretz <mss@apache.org>
Thu, 16 Jul 2009 10:52:55 +0000 (12:52 +0200)
fhw_rs232/rs232_send.vhd

index 11b1ee2..75ad39c 100644 (file)
@@ -85,7 +85,7 @@ begin
     if rst = '1' then
       index_s(frame_t'low) <= '1';
       index_s(frame_t'high downto frame_t'low + 1) <= (others => '0');
-    if rising_edge(clk) then
+    elsif rising_edge(clk) then
       if state_s = state_send_c then
         index_s <= index_s(frame_t'high - 1 downto frame_t'low) & index_s(frame_t'high);
       end if;