Skip to content

Commit

Permalink
Merge pull request #3628 from joonho3020/plic-domain-name
Browse files Browse the repository at this point in the history
Suggest name for plic domain
  • Loading branch information
jerryz123 authored May 12, 2024
2 parents c69faba + e79ecc1 commit 2f462f5
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 2f462f5

Please sign in to comment.