7 use IEEE.std_logic_1164.all;
9 entity ADDRESS_REGISTER is
11 PCI_CLOCK :in std_logic;
12 PCI_RSTn :in std_logic;
13 LOAD_ADDR_REG :in std_logic;
14 AD_REG :in std_logic_vector (31 downto 0);
15 ADDR_REG :out std_logic_vector (31 downto 0)
17 end entity ADDRESS_REGISTER;
19 architecture ADDR_REGI_DESIGN of ADDRESS_REGISTER is
20 signal REG_ADDR :std_logic_vector (31 downto 0);
23 process (PCI_CLOCK, PCI_RSTn)
25 if PCI_RSTn = '0' then
26 REG_ADDR <= X"00000000";
28 elsif (PCI_CLOCK'event and PCI_CLOCK = '1') then
29 if LOAD_ADDR_REG = '1' then
39 end architecture ADDR_REGI_DESIGN;