Skip to content
Snippets Groups Projects
Commit c50e0e21 authored by Niels Möller's avatar Niels Möller
Browse files

Add hw decode of immediate mullo.

parent 504bfc29
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,16 @@ module instr_decode (input [15:0] instr,
imm_data = uimm;
imm_enable = 1;
end
/* Reserved op codes, 1011 1..., another 4 immediate instructions? */
/* Immediate mullo */
'b1011_100?_????_????: begin
mul_enable = 1;
mul_op = `OP_MUL_LOW;
dst_write_enable = 1;
src_neg = instr[8];
imm_data = uimm;
imm_enable = 1;
end
/* Reserved op codes, another 3 immediate instructions? */
/* Immediate tst */
'b1100_000?_????_????: begin
alu_enable = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment