From b7391f4bbfc49ca638eeda869f2fc8e824e1ad8d Mon Sep 17 00:00:00 2001 From: Tommy Thorn Date: Sun, 1 Jun 2008 20:21:30 -0700 Subject: [PATCH] CORE: get perf_delay_slot_bubble out of the critial path --- rtl/yari-core/stage_D.v | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtl/yari-core/stage_D.v b/rtl/yari-core/stage_D.v index c3d6976..c204b4f 100644 --- a/rtl/yari-core/stage_D.v +++ b/rtl/yari-core/stage_D.v @@ -292,9 +292,12 @@ module stage_D(input wire clock d_restart <= 1; d_restart_pc <= d_pc; d_flush_X <= 1; - perf_delay_slot_bubble <= perf_delay_slot_bubble + 1; end + // Delay the count one cycle to improve cycle time + if (d_restart) + perf_delay_slot_bubble <= perf_delay_slot_bubble + 1; + if (m_valid) perf_retired_inst <= perf_retired_inst + 1; end -- 2.11.4.GIT