Forum Discussion
Altera_Forum
Honored Contributor
17 years agoClock cycles per IORD instruction
Hi, Does anyone know how many clock cycles IORD instruction needs? It looks like 2, but I would like to clarify it. If it is 2, does mm_slave_read stay high for both clock cycles? Thi...
Altera_Forum
Honored Contributor
17 years agoUpon further reflection, the situation is more complicated than I previously suggested. I was thinking of it in terms of the Avalon transfer from your Slave, but the IORD macro may generate other instructions to set up the source address for the load instruction. Also, depending on the version of the core selected, the instruction can take more than 1 cycle to execute. However, I would still say that the actual Avalon transfer between the CPU and your slave will be determined by the wait states (if any) you specify, so could be a single cycle and the read signal would be active for the duration of the Avalon transfer.