Merge pull request #163 from paulusmack/excpath

Fix the bug causing the assert that Mikey hit
jtag-port
Anton Blanchard 5 years ago committed by GitHub
commit b6bd1ba33d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -248,6 +248,7 @@ begin


v := r; v := r;
v.e := Execute1ToWritebackInit; v.e := Execute1ToWritebackInit;
lv := Execute1ToLoadstore1Init;


-- XER forwarding. To avoid having to track XER hazards, we -- XER forwarding. To avoid having to track XER hazards, we
-- use the previously latched value. -- use the previously latched value.
@ -773,6 +774,7 @@ begin
when OP_LOAD | OP_STORE => when OP_LOAD | OP_STORE =>
-- loadstore/dcache has its own port to writeback -- loadstore/dcache has its own port to writeback
v.e.valid := '0'; v.e.valid := '0';
lv.valid := '1';


when others => when others =>
terminate_out <= '1'; terminate_out <= '1';
@ -865,10 +867,6 @@ begin
v.e.write_enable := result_en; v.e.write_enable := result_en;


-- Outputs to loadstore1 (async) -- Outputs to loadstore1 (async)
lv := Execute1ToLoadstore1Init;
if e_in.valid = '1' and (e_in.insn_type = OP_LOAD or e_in.insn_type = OP_STORE) then
lv.valid := '1';
end if;
if e_in.insn_type = OP_LOAD then if e_in.insn_type = OP_LOAD then
lv.load := '1'; lv.load := '1';
end if; end if;

Loading…
Cancel
Save