constant CMD_MEN_READ_L :std_logic_vector(3 downto 0) := "1110";\r
constant CMD_MEM_WRITE_I :std_logic_vector(3 downto 0) := "1111";\r
\r
- signal CONFIG_ADDR :std_logic_vector(7 downto 0); \r
- signal CONFIG_WRITE :std_logic_vector(3 downto 0); \r
+ signal CONFIG_ADDR :std_logic_vector(7 downto 0); \r
+ signal CONFIG_WRITE :std_logic_vector(3 downto 0); \r
\r
\r
begin\r
\r
if CF_WR_COM = '1' and IRDY_REGn = '0' and TRDYn = '0' then\r
\r
- if CONFIG_ADDR = X"04" then CONFIG_WRITE <= "0001";\r
- elsif CONFIG_ADDR = X"10" then CONFIG_WRITE <= "0010";\r
- elsif CONFIG_ADDR = X"3C" then CONFIG_WRITE <= "0100";\r
+ if CONFIG_ADDR = X"04" then\r
+ CONFIG_WRITE <= "0001";\r
+\r
+ elsif CONFIG_ADDR = X"10" then\r
+ CONFIG_WRITE <= "0010";\r
+\r
+ elsif CONFIG_ADDR = X"3C" then\r
+ CONFIG_WRITE <= "0100";\r
+\r
-- elsif CONFIG_ADDR = X"40" then CONFIG_WRITE <= "1000";\r
- else CONFIG_WRITE <= "0000";\r
+ else\r
+ CONFIG_WRITE <= "0000";\r
end if;\r
- else CONFIG_WRITE <= "0000";\r
+ else \r
+ CONFIG_WRITE <= "0000";\r
end if;\r
end process;\r
\r