begin
fce <=ce1;
foe <=aoe;
fwe <=awe;
h_addr <=a13;
l_addr <=a3&a2&a1;
datain <=d5&d4&d3&d2&d1&d0;
facs <=′1′ when h_addr=′1′
and ce2=′0′ and l_addr='000'
else ′0′; --CE2 0x400000
FPR:process(facs,awe,reset)
begin
if reset=′0′ then
fa<=″000000″;
else if reset=′1′ then
if awe′event and awe=′1′ then
if facs=′1′ then
fa<=datain(5 downto 0);
end if;
end if;
end if;
end process;
dataout<=fa when aoe=′0′ and facs=′1′
else ″ZZZZZZ″;
d5 <=dataout(5);
d4 <=dataout(4);
d3 <=dataout(3);
d2 <=dataout(2);
d1 <=dataout(1);
d0 <=dataout(0);
fa18 <=fa(18);
fa17 <=fa(17);
fa16 <=fa(16);
fa15 <=fa(15);
fa14 <=fa(14);
fa13 <=fa(13);
end behaviour;