X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/0c81dc03729a06b725c12c2d39632f5749eee02c..aca9163e335d29dba60cbd797ee946408070cf4f:/dhwk/source/ser_par_con.vhd?ds=sidebyside diff --git a/dhwk/source/ser_par_con.vhd b/dhwk/source/ser_par_con.vhd index 7c6978d..f0b7896 100644 --- a/dhwk/source/ser_par_con.vhd +++ b/dhwk/source/ser_par_con.vhd @@ -1,4 +1,4 @@ --- $Id: ser_par_con.vhd,v 1.1 2007-03-11 08:55:29 sithglan Exp $ +-- $Id: ser_par_con.vhd,v 1.2 2007-03-11 09:14:58 sithglan Exp $ library ieee; use ieee.std_logic_1164.all; @@ -46,7 +46,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; @@ -129,7 +129,7 @@ begin process(PCI_CLOCK) begin - if (PCI_CLOCK'event and PCI_CLOCK = '1') then + if (rising_edge(PCI_CLOCK)) 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 (PCI_CLOCK'event and PCI_CLOCK = '1') then + if (rising_edge(PCI_CLOCK)) then if (RESET = '1') then STARTBIT <= "0000"; else