From 6ad75a23d2d63b4e4f60fca96b34609492d26f8e Mon Sep 17 00:00:00 2001 From: Manfred Date: Thu, 18 Nov 2010 11:52:07 +0100 Subject: [PATCH] blabla --- cpu/src/alu_b.vhd | 2 ++ cpu/src/alu_pkg.vhd | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cpu/src/alu_b.vhd b/cpu/src/alu_b.vhd index a24ade8..5fab318 100755 --- a/cpu/src/alu_b.vhd +++ b/cpu/src/alu_b.vhd @@ -102,6 +102,8 @@ begin result_v := shift_result; end case; + + result_v.status.zero := '0'; if result_v.result = REG_ZERO then result_v.status.zero := '1'; end if; diff --git a/cpu/src/alu_pkg.vhd b/cpu/src/alu_pkg.vhd index 16a175c..13285d9 100755 --- a/cpu/src/alu_pkg.vhd +++ b/cpu/src/alu_pkg.vhd @@ -42,7 +42,7 @@ package alu_pkg is end record alu_result_rec; - constant SHIFT_WIDTH : integer := 1; --log2c(gp_register_t'length); + constant SHIFT_WIDTH : integer := 4; --log2c(gp_register_t'length); constant COND_ZERO : condition_t := "0001"; constant COND_NZERO : condition_t := "0000"; -- 2.25.1