X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/blobdiff_plain/11b038c295a0c1c9a2753ad8cdb6da0480ebc1dc..c8b3e197e6ec554806e722b220010e7c03830dea:/dhwk/source/pci/comm_dec.vhd

diff --git a/dhwk/source/pci/comm_dec.vhd b/dhwk/source/pci/comm_dec.vhd
index c28d222..2cd7beb 100644
--- a/dhwk/source/pci/comm_dec.vhd
+++ b/dhwk/source/pci/comm_dec.vhd
@@ -89,7 +89,7 @@ begin
         process (PCI_CLOCK, PCI_RSTn)
         begin
                 if PCI_RSTn = '0' then FRAME_REG_REGn <= '1';
-        elsif (PCI_CLOCK'event and PCI_CLOCK = '1') then
+        elsif (rising_edge(PCI_CLOCK)) then
 
                 FRAME_REG_REGn <= FRAME_REGn;