Fix LD RR,$nnnn instruction not reading operand
This commit is contained in:
parent
2937ff492b
commit
3e92cf5eec
@ -47,8 +47,8 @@ module decode (
|
||||
|
||||
assign is_alu_a_n = (dec_x == 3'h2);
|
||||
|
||||
assign need_instr1_o = is_ld_sp_nnnn;
|
||||
assign need_instr2_o = is_ld_sp_nnnn;
|
||||
assign need_instr1_o = is_ld_sp_nnnn | is_ld_rr_nnnn;
|
||||
assign need_instr2_o = is_ld_sp_nnnn | is_ld_rr_nnnn;
|
||||
|
||||
assign undef_o = ~(is_ld_sp_nnnn | is_ld_rr_nnnn | is_alu_a_n);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user