Don't think too complicated.
authorMalte S. Stretz <mss@apache.org>
Thu, 27 Aug 2009 13:24:26 +0000 (15:24 +0200)
committerMalte S. Stretz <mss@apache.org>
Thu, 27 Aug 2009 13:24:26 +0000 (15:24 +0200)
bos2k9_pump.vhd

index eb9bfaf..394c352 100644 (file)
@@ -134,8 +134,8 @@ begin
     elsif rising_edge(clock) then
       if busy_s = '0' then
         busy_s <= txn;
-      elsif state_s = next_state_c then
-        busy_s <= not done_s;
+      elsif state_s = idle_state_c then
+        busy_s <= '0';
       end if;
     end if;
   end process;