Altera_Forum
Honored Contributor
12 years agoBranch target address alignment
Hello,
To avoid line wrap burst from instruction cache masters, I want to align each branch target to 32 B cache line boundary. Is there any macro to achieve that? More detailed description: int main (void) { f1(); f2(); if (X) insideIf(); else insideElse(); fn(); } I want that the value of each of these functions must be divisible by 32 without remainder. When a branch target is not aligned to 32 Byte boundary, the instruction cache master issues wrap around burst. My slave component cannot handle the wrap burst. The slave property "BurstOnBurstBoundryOnly" will be respected by the instruction master? I am missing a documented proof of it. Any links, help will be highly appreciated. Thank you, wcet