System ArchitectureIP2022 Users Manual
34
www.ubicom.com
2.4.2
Instruction Timing
All instructions that perform branches take 3 cycles to complete,
consisting of 1 cycle to execute and 2 cycles to load the pipeline.
In the case of an automatic speed change, the execution time will
be with respect to the original speed and the pipeline load time will
be with respect to the new speed.
Conditional branching is implemented in the IP2022 by using
conditional skip instructions to branch over an unconditional jump
instruction. To support conditional branching to other pages, the
conditional skip instructions will skip over two instructions if the
first instruction is a page instruction. The loadh and loadl
instructions also cause an additional instruction to be skipped.
When any of these conditions occur, it is called an extended skip
instruction.
Skip instructions take 1 cycle if they do not skip, or 2 cycles if they
skip over one instruction. An extended skip instruction may skip
over more than one loadh, loadl, or page instruction,
Table 2-1 Branch Timing
Instruction
Execution Time
Pipeline Load
Time
jmp
1
2
call
1
2
ret
1
2
reti
1
2