提交 7f93b3aa 编写于 作者: L Lingrui98

tage: remove flush signal in req.valid

上级 10bf7658
......@@ -408,7 +408,7 @@ class Tage extends BaseTage {
val tables = TableInfo.map {
case (nRows, histLen, tagLen) => {
val t = if(EnableBPD) Module(new TageTable(nRows, histLen, tagLen, UBitPeriod)) else Module(new FakeTageTable)
t.io.req.valid := io.pc.valid && !io.flush
t.io.req.valid := io.pc.valid
t.io.req.bits.pc := io.pc.bits
t.io.req.bits.hist := io.hist
t.io.req.bits.mask := io.inMask
......@@ -420,7 +420,7 @@ class Tage extends BaseTage {
case (nRows, ctrBits, histLen) => {
val t = if (EnableSC) Module(new SCTable(nRows/TageBanks, ctrBits, histLen)) else Module(new FakeSCTable)
val req = t.io.req
req.valid := io.pc.valid && !io.flush
req.valid := io.pc.valid
req.bits.pc := io.pc.bits
req.bits.hist := io.hist
req.bits.mask := io.inMask
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册