4 -- File: CONFIG_WR_SEL.VHD
7 use IEEE.std_logic_1164.all;
12 IO_WR_COM :in std_logic;
13 IRDY_REGn :in std_logic;
15 ADDR_REG :in std_logic_vector(31 downto 0);
16 CBE_REGn :in std_logic_vector( 3 downto 0);
17 WRITE_XX1_0 :out std_logic;
18 WRITE_XX3_2 :out std_logic;
19 WRITE_XX5_4 :out std_logic;
20 WRITE_XX7_6 :out std_logic
25 --C/BE[3..0] gueltige Datenbits
26 -------------------------------
33 architecture IO_WR_SEL_DESIGN of IO_WR_SEL is
35 signal WR_ENA :std_logic;
36 signal ADDR :std_logic_vector( 5 downto 0);
46 ADDR <= ADDR_REG(3) & ADDR_REG(2) & CBE_REGn;
49 WRITE_XX1_0 <= '1' when WR_ENA = '1' and ADDR = "001100" else '0';
50 WRITE_XX3_2 <= '1' when WR_ENA = '1' and ADDR = "000011" else '0';
51 WRITE_XX5_4 <= '1' when WR_ENA = '1' and ADDR = "011100" else '0';
52 WRITE_XX7_6 <= '1' when WR_ENA = '1' and ADDR = "010011" else '0';
54 end architecture IO_WR_SEL_DESIGN;