Skip to content

Commit

Permalink
remove CompileOption in tilelink Broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Jul 27, 2023
1 parent 7c9670b commit 07d1b57
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/scala/tilelink/Broadcast.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package freechips.rocketchip.tilelink

import chisel3._
import chisel3.util._
import freechips.rocketchip.util.CompileOptions.NotStrictInferReset
import org.chipsalliance.cde.config.Parameters
import freechips.rocketchip.diplomacy._
import freechips.rocketchip.regmapper._
Expand Down Expand Up @@ -119,7 +118,7 @@ class TLBroadcast(params: TLBroadcastParams)(implicit p: Parameters) extends Laz
val d_what = out.d.bits.source(d_high+1, d_high)
val d_drop = d_what === DROP
val d_hasData = edgeOut.hasData(out.d.bits)
val d_normal = Wire(in.d)
val d_normal = Wire(chiselTypeOf(in.d))
val (d_first, d_last, _) = edgeIn.firstlast(d_normal)
val d_trackerOH = VecInit(trackers.map { t => t.need_d && t.source === d_normal.bits.source }).asUInt holdUnless d_first

Expand Down Expand Up @@ -179,8 +178,8 @@ class TLBroadcast(params: TLBroadcastParams)(implicit p: Parameters) extends Laz
in.c.bits.param === TLPermissions.BtoB)
}

val releaseack = Wire(in.d)
val putfull = Wire(out.a)
val releaseack = Wire(chiselTypeOf(in.d))
val putfull = Wire(chiselTypeOf(out.a))

in.c.ready := c_probeack || Mux(c_release, releaseack.ready, putfull.ready)

Expand Down

0 comments on commit 07d1b57

Please sign in to comment.