From: Stefan Rebernig Date: Thu, 2 Dec 2010 13:29:02 +0000 (+0100) Subject: static branch - small bug fix X-Git-Tag: bootrom_v1~99 X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=6750eea5f750d928426114047ff342256a4fccc6;hp=7abf429570db9f476d7a02981358ae872b6a44d5;p=calu.git static branch - small bug fix --- diff --git a/cpu/src/decoder_b.vhd b/cpu/src/decoder_b.vhd index 55358f8..339d11d 100644 --- a/cpu/src/decoder_b.vhd +++ b/cpu/src/decoder_b.vhd @@ -311,6 +311,10 @@ begin -- instr_s.op_detail(SUB_OPT) := not instr_s.opcode(0); instr_s.op_group := JMP_OP; end if; + + if (instr_s.predicates = "1111") then + instr_s.bp := '0'; + end if; end if; -- when "10111" => --brreg diff --git a/cpu/src/r_w_ram_b.vhd b/cpu/src/r_w_ram_b.vhd index 023b1b7..16b44a4 100644 --- a/cpu/src/r_w_ram_b.vhd +++ b/cpu/src/r_w_ram_b.vhd @@ -25,6 +25,7 @@ architecture behaviour of r_w_ram is 8 => "00001011011111111111110010000011", -- jump -7 9 => "11101011000000000000000010000010", -- jump +1 + --10 => "11101011000000000000000010000010", -- jump +1 10 => "11100111101010100000000000000001", -- stw r5,r4,1 11 => "11101100001000100000000000000000", -- cmp r4 , r4 => 2-2 => 1001