B
BlackOps
Guest
Ik ben het bestuderen van de VHDL-code wordt gegenereerd door de Perifere Wizard in EDK 9.1
er zo'n stukje code:
Code:voor byte_index in 4 tot 14 lus
if (mst_byte_we (byte_index) = '1 ') then
mst_reg (byte_index) <= Bus2IP_Data (
(byte_index-(byte_index / (C_DWIDTH / 8)) * (C_DWIDTH / 8)) * 8 tot
(byte_index-(byte_index / (C_DWIDTH / 8)) * (C_DWIDTH / 8)) * 8 7);
end if;
end loop;
er zo'n stukje code:
Code:voor byte_index in 4 tot 14 lus
if (mst_byte_we (byte_index) = '1 ') then
mst_reg (byte_index) <= Bus2IP_Data (
(byte_index-(byte_index / (C_DWIDTH / 8)) * (C_DWIDTH / 8)) * 8 tot
(byte_index-(byte_index / (C_DWIDTH / 8)) * (C_DWIDTH / 8)) * 8 7);
end if;
end loop;