Minor changes to satisfy timing

git-svn-id: http://moon:8086/svn/vhdl/trunk@18 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2008-09-20 22:16:55 +00:00
parent 7756d5c412
commit 38291789bf
+5 -3
View File
@@ -309,9 +309,10 @@ proc_stage_pc_next:
branch_ce <= '0';
cop_ctrl.exc_left <= '0';
if rst = '1' then
pc.nxt <= RESET_VECTOR;
pc.last <= RESET_VECTOR;
elsif cop_stat.exc_commit = '1' then
pc.nxt <= pc.curr;
pc.last <= pc.curr;
else
if cop_stat.exc_commit = '1' then
pc.nxt <= cop_stat.exc_vec;
elsif sdu.ID_stall = '0' then
cop_ctrl.exc_left <= cop_stat.exc_exit;
@@ -326,6 +327,7 @@ proc_stage_pc_next:
end if;
end if;
end if;
end if;
end process;
proc_stage_branch: