T
thomas
Hi
I am have a problem with this code
process (notAccessStart, notWrite)
begin -- process
if notAccessStart'event and notAccessStart = '1' then
if notWrite = '0' then
case AddressByte is
when "00000" => reg0(rx_index) <= DataByte;
rx_index <= rx_index + 1;
if rx_index = 5 then
rx_index <= 0;
end if;
when "00001" => reg1(rx_index) <= DataByte;
rx_index <= rx_index + 1;
if rx_index = 5 then
rx_index <= 0;
end if;
I am have a problem with this code
process (notAccessStart, notWrite)
begin -- process
if notAccessStart'event and notAccessStart = '1' then
if notWrite = '0' then
case AddressByte is
when "00000" => reg0(rx_index) <= DataByte;
rx_index <= rx_index + 1;
if rx_index = 5 then
rx_index <= 0;
end if;
when "00001" => reg1(rx_index) <= DataByte;
rx_index <= rx_index + 1;
if rx_index = 5 then
rx_index <= 0;
end if;