lw : out STD_LOGIC;
sw : out STD_LOGIC;
branch : out STD_LOGIC;
bnc_type : out STD_LOGIC_VECTOR (1 downto 0);
jump : out STD_LOGIC;
funct : out STD_LOGIC_VECTOR (2 downto 0);
op2src : out STD_LOGIC;
regdst : out STD_LOGIC;
regwrt : out STD_LOGIC;
inst : in STD_LOGIC_VECTOR (31 downto 0));
Asynchronous
lw:HIGH when instruction is LW
sw:HIGH when instruction is SW
branch:HIGH when instruction is BLT | BEQ | BNE
bnc_type:01 when BNE; 11 when BEQ; 10 when BLT
jump:HIGH when instruction is JMP
funct: to be disscussed
op2src:HIGH when instruction is I-type (except BXX)
Asynchronous
lw:
HIGH
when instruction isLW
sw:
HIGH
when instruction isSW
branch:
HIGH
when instruction isBLT
|BEQ
|BNE
bnc_type:
01
whenBNE
;11
whenBEQ
;10
whenBLT
jump:
HIGH
when instruction isJMP
funct: to be disscussed
op2src:
HIGH
when instruction isI-type
(exceptBXX
)regdst:
HIGH
when instruction isR-type
regwrt:
HIGH
whenopcode == 00 to 07
Progress