[Add] switch to 7-stage and pass func test

This commit is contained in:
2023-07-28 15:29:06 +08:00
parent bf2dd4655b
commit 3a070d35fc
12 changed files with 431 additions and 305 deletions

View File

@@ -2,8 +2,8 @@
module pip_ctrl(
input reset,
input except_en,
input stallreq_fs_for_cache,
input stallreq_es_for_cache,
//input stallreq_fs_for_cache,
//input stallreq_es_for_cache,
input stallreq_ds,
input stallreq_es,
input stallreq_axi,
@@ -30,15 +30,16 @@ module pip_ctrl(
flush = 1;
stall = `StallBus'b0;
end
//id段发生暂停此时id及之前暂停
else if (stallreq_ds) begin
flush = 0;
stall = `StallBus'b000111;
end
else if (stallreq_es) begin
flush = 0;
stall = `StallBus'b111111;
end
//id段å<C2B5>生æšå<E2809A>œï¼Œæ­¤æ—¶idå<64>Šä¹å‰<C3A5>æšå<E2809A>?
else if (stallreq_ds) begin
flush = 0;
stall = `StallBus'b000111;
end
// else if(stallreq_fs_for_cache) begin
// flush = 0;
// stall = `StallBus'b000011;