]> git.zerfleddert.de Git - raggedstone/blobdiff - dhwk/source/pci/address_register.vhd
+= read registers from userland
[raggedstone] / dhwk / source / pci / address_register.vhd
index 99360c5f65d419438adaa9dd7297a781f60ae2a7..56c480eb2087d0c92e211c94a3a399764eec05b2 100644 (file)
@@ -25,7 +25,7 @@ begin
                if      PCI_RSTn = '0'  then
                         REG_ADDR       <= X"00000000";
 
-               elsif (PCI_CLOCK'event and PCI_CLOCK = '1') then
+               elsif (rising_edge(PCI_CLOCK)) then
                        if LOAD_ADDR_REG = '1' then
                                 REG_ADDR       <=      AD_REG;
                        else
Impressum, Datenschutz