]> git.zerfleddert.de Git - raggedstone/blobdiff - dhwk/source/ser_par_con.vhd
rollback
[raggedstone] / dhwk / source / ser_par_con.vhd
index f0b7896b6d3c13bf544386a2905e4f95a3d9be4c..d68124d3920f59c513161bdb8fa376acda83594e 100644 (file)
@@ -1,4 +1,4 @@
--- $Id: ser_par_con.vhd,v 1.2 2007-03-11 09:14:58 sithglan Exp $
+-- $Id: ser_par_con.vhd,v 1.3 2007-03-11 12:24:35 sithglan Exp $
 
 library ieee;
 use ieee.std_logic_1164.all;
@@ -46,7 +46,7 @@ begin
 
         process(PCI_CLOCK)
         begin
-                if (rising_edge(PCI_CLOCK)) then
+                if (PCI_CLOCK'event and PCI_CLOCK = '1') then
                         if ("0000" < COUNT) then
                                 COUNT <= COUNT - 1;
                         end if;
@@ -129,7 +129,7 @@ begin
 
         process(PCI_CLOCK)
         begin
-                if (rising_edge(PCI_CLOCK)) then
+                if (PCI_CLOCK'event and PCI_CLOCK = '1') then
                         SPC_RDY_OUT <= SPC_ENABLE AND SYNC_R_FIFO_FFn;
                 end if;
         end process;
@@ -137,7 +137,7 @@ begin
 
         process(PCI_CLOCK)
         begin
-                if (rising_edge(PCI_CLOCK)) then
+                if (PCI_CLOCK'event and PCI_CLOCK = '1') then
                         if (RESET = '1') then
                                 STARTBIT <= "0000";
                         else
Impressum, Datenschutz