now we only lose half the bytes
authormichael <michael>
Sat, 10 Mar 2007 16:08:48 +0000 (16:08 +0000)
committermichael <michael>
Sat, 10 Mar 2007 16:08:48 +0000 (16:08 +0000)
dhwk/source/PAR_SER_CON.vhd

index 38300b7796d848862e3d0a7e682802f8a886609e..9d78b2b1deba6732a9e8f437868c9a5e6eaa59d0 100644 (file)
@@ -1,4 +1,4 @@
--- $Id: PAR_SER_CON.vhd,v 1.1 2007-03-10 11:24:03 sithglan Exp $\r
+-- $Id: PAR_SER_CON.vhd,v 1.2 2007-03-10 16:08:48 michael Exp $\r
 \r
 library ieee;\r
 use ieee.std_logic_1164.all;\r
@@ -55,7 +55,7 @@ begin
                         S_FIFO_READn <= '1';\r
 \r
                 elsif (PSC_ENABLE = '1') then\r
-                                                                                               if (COUNT = "0000") then\r
+               if (COUNT = "0000") then\r
                         COUNT <= "0011";\r
                         case STATE is\r
                                 when STATE_SEND =>\r
@@ -105,6 +105,8 @@ begin
 \r
                                 when others => STATE <= STATE_END;\r
                         end case;\r
+                   else\r
+                       S_FIFO_READn <= '1';\r
                     end if; -- COUNT\r
                 end if; -- RESET ... / PSC_ENABLE ...\r
         end if; -- PCI_CLOCK ...\r
Impressum, Datenschutz