Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/main/scala/Example-axi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AXI4AIA()(implicit p: Parameters) extends LazyModule {
toAIA_xbar := toAIA

// Here we create 2 imsic groups, each group contains two 2 CPUs
val imsic_params = IMSICParams(EnableImsicAsyncBridge = true)
val imsic_params = IMSICParams(EnableImsicAsyncBridge = true, HasTEEIMSIC = false)
val aplic_params = APLICParams(groupsNum = 2, membersNum = 2)
val imsics_fromMem_xbar = LazyModule(new AXI4Xbar).node
imsics_fromMem_xbar := toAIA_xbar
Expand Down Expand Up @@ -91,10 +91,7 @@ class AXI4AIA()(implicit p: Parameters) extends LazyModule {
}

sec_notice_pending.foreach { sec_notice_pending =>
imsics(i).module.io_sec.foreach {
instance_iosec =>
sec_notice_pending(i) := instance_iosec.notice_pending
}
sec_notice_pending(i) := imsics(i).module.toCSR.notice_pending.get
}
}
}
Expand All @@ -107,7 +104,7 @@ object AXI4AIA extends App {

val axi4top = LazyModule(new AXI4AIA()(
Parameters.empty.alterPartial({
case IMSICParameKey => IMSICParameters(HasTEEIMSIC=false)
case IMSICParameKey => IMSICParameters(HasTEEIMSIC = false)
})
))

Expand Down
5 changes: 1 addition & 4 deletions src/main/scala/Example.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ class TLAIA()(implicit p: Parameters) extends LazyModule {
}
}
sec_notice_pending.foreach { sec_notice_pending =>
imsics(i).module.io_sec.foreach {
instance_iosec =>
sec_notice_pending(i) := instance_iosec.notice_pending
}
sec_notice_pending(i) := imsics(i).module.toCSR.notice_pending.get
}
}
}
Expand Down
Loading