Skip to content

Commit

Permalink
Suggest name for plic domain
Browse files Browse the repository at this point in the history
  • Loading branch information
joonho3020 committed May 11, 2024
1 parent c10ce93 commit e79ecc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/devices/tilelink/Plic.scala
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class PLICFanIn(nDevices: Int, prioBits: Int) extends Module {
trait CanHavePeripheryPLIC { this: BaseSubsystem =>
val (plicOpt, plicDomainOpt) = p(PLICKey).map { params =>
val tlbus = locateTLBusWrapper(p(PLICAttachKey).slaveWhere)
val plicDomainWrapper = tlbus.generateSynchronousDomain
val plicDomainWrapper = tlbus.generateSynchronousDomain.suggestName("plic_domain")

val plic = plicDomainWrapper { LazyModule(new TLPLIC(params, tlbus.beatBytes)) }
plicDomainWrapper { plic.node := tlbus.coupleTo("plic") { TLFragmenter(tlbus) := _ } }
Expand Down

0 comments on commit e79ecc1

Please sign in to comment.