Implement LD r, $nn

This commit is contained in:
2021-02-20 15:56:22 +00:00
parent 7327ecffb9
commit 67361093ec
5 changed files with 41 additions and 19 deletions

View File

@@ -44,7 +44,8 @@ module alu (
`DEF_FF(f_r, f_next, f_we, '0);
assign a_we = alu_op_valid_i;
assign a_next = (alu_op_i == ALU_OP_XOR) ? a_xor :
assign a_next = (alu_op_i == ALU_OP_XOR) ? a_xor :
(alu_op_i == ALU_OP_NOP) ? operand_i :
a_r;
assign f_we = alu_op_valid_i;