- removed MUX for RESET_VECTOR in proc_stage_pc:

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@416 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-03-28 18:27:05 +00:00
parent e89e61291a
commit 4dc562bfe5
+6 -10
View File
@@ -243,16 +243,12 @@ inst_muldiv: muldiv
imem_addr <= pc.curr;
proc_stage_pc:
process(pc, rst, c0_ctrl_in)
process(pc, c0_ctrl_in)
begin
if rst = '1' then
pc.curr <= RESET_VECTOR after 2 ns;
if pc.is_branch and c0_ctrl_in.exc_pending = '0' then
pc.curr <= pc.pc_branch after 2 ns;
else
if pc.is_branch and c0_ctrl_in.exc_pending = '0' then
pc.curr <= pc.pc_branch after 2 ns;
else
pc.curr <= pc.nxt after 2 ns;
end if;
pc.curr <= pc.nxt after 2 ns;
end if;
end process;
@@ -272,8 +268,8 @@ proc_stage_pc_next:
if rising_edge(clk_1) then
c0_ctrl_out.exc_left <= '0';
if rst = '1' then
pc.nxt <= pc.curr;
pc.last <= pc.curr;
pc.nxt <= RESET_VECTOR;
pc.last <= RESET_VECTOR;
branch_ce <= '1';
else
branch_ce <= '0';