7 use IEEE.std_logic_1164.all;
12 PCI_CLOCK :in std_logic;
13 PCI_RSTn :in std_logic;
14 LOAD_ADDR_REG :in std_logic;
15 AD_REG :in std_logic_vector (31 downto 0);
16 ADDR_REG :out std_logic_vector (31 downto 0)
20 architecture ADDR_REGI_DESIGN of ADDR_REGI is
22 signal REG_ADDR :std_logic_vector (31 downto 0);
26 process (PCI_CLOCK, PCI_RSTn)
28 if PCI_RSTn = '0' then REG_ADDR <= X"00000000";
30 elsif (PCI_CLOCK'event and PCI_CLOCK = '1') then
32 if LOAD_ADDR_REG = '1' then
35 else REG_ADDR <= REG_ADDR;
43 end architecture ADDR_REGI_DESIGN;