提交 6f2c55e9 编写于 作者: Y Yinan Xu

RenameTable: avoid bypass to optimize timing

上级 99b8dc2c
......@@ -35,9 +35,9 @@ class RenameTable(float: Boolean) extends XSModule {
for((r, i) <- io.readPorts.zipWithIndex){
r.rdata := spec_table(r.addr)
for(w <- io.specWritePorts.take(i/{if(float) 4 else 3})){ // bypass
when(w.wen && (w.addr === r.addr)){ r.rdata := w.wdata }
}
// for(w <- io.specWritePorts.take(i/{if(float) 4 else 3})){ // bypass
// when(w.wen && (w.addr === r.addr)){ r.rdata := w.wdata }
// }
}
for(w <- io.archWritePorts){
......@@ -58,4 +58,4 @@ class RenameTable(float: Boolean) extends XSModule {
ExcitingUtils.Debug
)
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册