2 Extend
Mario Romero edited this page 2023-06-06 18:10:31 +00:00

Immediate Extend

Defined in rtl/extend.sv

Figure Direction Signal
Input imm_src
instr
Output imm_ext

This module extend the instr immediate from a bit index depending from the imm_src signal. The imm_src signal represent the instruction type as follows:

Binary value Instruction Type
00 I
01 S
10 B
11 J