From: Manfred Date: Thu, 18 Nov 2010 10:52:07 +0000 (+0100) Subject: blabla X-Git-Tag: bootrom_v1~122 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=calu.git;a=commitdiff_plain;h=6ad75a23d2d63b4e4f60fca96b34609492d26f8e blabla --- 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";