X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/30273618403fd6512926c89f999f97b4722e1709..f69f908ec2b5edbaaa2885a79f6dbe5011462fef:/dhwk/source/par_ser_con.vhd?ds=sidebyside diff --git a/dhwk/source/par_ser_con.vhd b/dhwk/source/par_ser_con.vhd index 1c366e2..92a01c0 100644 --- a/dhwk/source/par_ser_con.vhd +++ b/dhwk/source/par_ser_con.vhd @@ -1,4 +1,4 @@ --- $Id: par_ser_con.vhd,v 1.1 2007-03-11 08:55:29 sithglan Exp $ +-- $Id: par_ser_con.vhd,v 1.4 2007-03-11 13:23:11 sithglan Exp $ library ieee; use ieee.std_logic_1164.all; @@ -43,7 +43,7 @@ begin process(PCI_CLOCK) begin - if (PCI_CLOCK'event and PCI_CLOCK = '1') then + if (rising_edge(PCI_CLOCK)) then if ("0000" < COUNT) then COUNT <= COUNT - 1; end if; @@ -115,7 +115,7 @@ begin process(PCI_CLOCK) begin - if (PCI_CLOCK'event and PCI_CLOCK = '1') then + if (rising_edge(PCI_CLOCK)) then SYNC <= SPC_RDY_IN; end if; end process;