From 9508eada7900c2fc0366d24bc4b38d129e64239b Mon Sep 17 00:00:00 2001 From: jon Date: Thu, 17 Sep 2020 14:40:46 +0100 Subject: [PATCH] Change to allow 1-way superscalar to build without error. --- src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv b/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv index 42834ed..77e5681 100644 --- a/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv +++ b/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv @@ -632,7 +632,7 @@ module mkFetchStage(FetchStage); if (isValid(new_pick)) begin if (verbose) $display("Decode: picked instruction %d, next frag %d :", pick_count, i, fshow(decodeIn[pick_count])); - pick_count = pick_count + 1; + pick_count = pick_count + truncate(8'b1); m_used_frag_count = tagged Valid fromInteger(i); prev_frag_available = False; end else prev_frag_available = isValid(frags[i]);