From 3affdf3b615075bf199bc6396ba30b4c30f64dd8 Mon Sep 17 00:00:00 2001 From: HidetaroTanaka Date: Fri, 1 Dec 2023 19:23:36 +0900 Subject: [PATCH] a --- src/main/scala/hajime/vectormodules/VectorCpu.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/hajime/vectormodules/VectorCpu.scala b/src/main/scala/hajime/vectormodules/VectorCpu.scala index fcfe947..346b9aa 100644 --- a/src/main/scala/hajime/vectormodules/VectorCpu.scala +++ b/src/main/scala/hajime/vectormodules/VectorCpu.scala @@ -427,6 +427,7 @@ class VectorCpu(implicit params: HajimeCoreParams) extends CpuModule with Scalar )) Mux(ID_EX_REG.bits.ctrlSignals.decode.branch === Branch.ECALL.asUInt, 0xb.U(params.xprlen.W), 0.U) + // EX_WB_REGに信号自体がvalidかを覚えさせておく when(vecCtrlUnit.io.resp.valid) { EX_WB_REG.bits.vectorCsrPorts.get := vecCtrlUnit.io.resp.bits }