gateware

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 37e36ca55bb562b52cf8870633e231e672fa75e2
parent 91dff4fe651486162397df78e08f188324a7aa65
Author: Brian Swetland <swetland@frotz.net>
Date:   Tue, 29 Dec 2015 20:55:51 -0800

cpu16: fix using mask for MHI operation

Diffstat:
Mhdl/cpu/cpu.v | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hdl/cpu/cpu.v b/hdl/cpu/cpu.v @@ -229,7 +229,7 @@ always @(*) begin do_sel_bdata = BDATA_S8; end 4'b0001: begin // mhi Ra, imm - using = USE_NONE; + using = USE_RA; do_exe_alu = 1'b1; do_sel_alu_op = ALU_MHI; do_sel_wsel = WSEL_RA;