未验证 提交 4b4fcc4b 编写于 作者: Z zhanglyGit 提交者: GitHub

fix(vsetvl): fix bug of vsetvl 'flushpipe' generating (#1993)

上级 a034446f
......@@ -123,7 +123,7 @@ class DecodeUnitComp(maxNumOfUop : Int)(implicit p : Parameters) extends XSModul
switch(typeOfDiv) {
is(UopDivType.DIR) {
when(isVset_u) {
csBundle(0).ctrl.flushPipe := ALUOpType.isVsetvli(cf_ctrl_u.ctrl.fuOpType) && cf_ctrl_u.ctrl.lsrc(0).orR
csBundle(0).ctrl.flushPipe := ALUOpType.isVsetvli(cf_ctrl_u.ctrl.fuOpType) && cf_ctrl_u.ctrl.lsrc(0).orR || ALUOpType.isVsetvl(cf_ctrl_u.ctrl.fuOpType)
csBundle(0).ctrl.fuOpType := ALUOpType.vsetExchange(cf_ctrl_u.ctrl.fuOpType)
csBundle(1).ctrl.ldest := INT_VCONFIG.U
csBundle(1).ctrl.flushPipe := false.B
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册