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

diff --git a/dhwk/source/pci/comm_fsm.vhd b/dhwk/source/pci/comm_fsm.vhd
index 82ecece..7735128 100644
--- a/dhwk/source/pci/comm_fsm.vhd
+++ b/dhwk/source/pci/comm_fsm.vhd
@@ -63,7 +63,7 @@ begin
         if PCI_RSTn = '0' then
                 COMM_STATE <= "0000";
 
-        elsif (PCI_CLOCK'event and PCI_CLOCK = '1') then
+        elsif (rising_edge(PCI_CLOCK)) then
                 case COMM_STATE is
                 when ST_IDLE_COMM =>
                         if IO_READ = '1' then COMM_STATE <= ST_IO_READ;