File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
CoupledL2/src/main/scala/coupledL2/tl2chi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class TL2CHICoupledL2(implicit p: Parameters) extends CoupledL2Base {
7070
7171 val io_chi = IO (new PortIO )
7272 val io_nodeID = IO (Input (UInt ()))
73- val io_cpu_halt = Option .when(cacheParams.enableL2Flush) (IO (Input (Bool ())))
73+ val io_cpu_wfi = Option .when(cacheParams.enableL2Flush) (IO (Input (Bool ())))
7474
7575 // Check port width
7676 require(io_chi.tx.rsp.getWidth == io_chi.rx.rsp.getWidth);
@@ -265,7 +265,7 @@ class TL2CHICoupledL2(implicit p: Parameters) extends CoupledL2Base {
265265 linkMonitor.io.nodeID := io_nodeID
266266 /* exit coherency when: l2 flush of all slices is done and core is in WFI state */
267267 linkMonitor.io.exitco.foreach { _ :=
268- Cat (slices.zipWithIndex.map { case (s, i) => s.io.l2FlushDone.getOrElse(false .B )}).andR && io_cpu_halt .getOrElse(false .B )
268+ Cat (slices.zipWithIndex.map { case (s, i) => s.io.l2FlushDone.getOrElse(false .B )}).andR && io_cpu_wfi .getOrElse(false .B )
269269 }
270270
271271 /**
You can’t perform that action at this time.
0 commit comments