Nios® V Processor Reference Manual

ID 683632
Date 1/27/2025
Public
Document Table of Contents

3.3.5. Instruction Cycles

The tables below provides instruction cycles for all types of instructions.
Table 25.  Instruction Cycles (Pipelined)
Instructions Category Cycles Pipeline Flush
BEQ, BNE, BLT, BGE, BLTU, BGEU Branch Taken 4 Yes
Branch Not Taken 1 -
LB, LH, LW, LBU, LHU Load (With AXI-4/Avalon® -MM transfer) More than 1 -
SB, SH, SW Store (With AXI-4/Avalon® -MM transfer) More than 1 -
ADD, SUB, ADDI Arithmetic 1 -
SLL, SLLI, SRA, SRAI, SRL, SRLI Shift 1 to 8 -
SLT, SLTU, SLTI, SLTIU Compare 1 -
AND, OR, XOR, ANDI, ORI, XORI Logic Operation 1 -
JAR, JALR Jump 4 Yes
ECALL, EBREAK Environment Call and Breakpoint 4 Yes
CSRRW, CSRRS, CSRRC, CSRRWI, CSRRSI, CSRRCI Control and Status Register 1 -
LUI, AUIPC, FENCE, FENCE.TSO, PAUSE Others 1 -
Table 26.  Instruction Cycles (Non-Pipelined)
Instructions Category Cycles
BEQ, BNE, BLT, BGE, BLTU, BGEU Branch Taken 7
Branch Not Taken 6
LB, LH, LW, LBU, LHU Load (With AXI-4/Avalon® -MM transfer) More than 6
SB, SH, SW Store (With AXI-4/Avalon® -MM transfer) More than 6
ADD, SUB, ADDI Arithmetic 6
SLL, SLLI, SRA, SRAI, SRL, SRLI Shift 6
SLT, SLTU, SLTI, SLTIU Compare 6
AND, OR, XOR, ANDI, ORI, XORI Logic Operation 6
JAR, JALR Jump 6
ECALL, EBREAK Environment Call and Breakpoint 6
CSRRW, CSRRS, CSRRC, CSRRWI, CSRRSI, CSRRCI Control and Status Register 6
LUI, AUIPC, FENCE, FENCE.TSO, PAUSE Others 1