Skip to content

Commit

Permalink
Subsystem: Add HierarchicalLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
rmac-sifive committed Mar 19, 2020
1 parent 0086e6c commit 3ad407a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/scala/subsystem/BaseSubsystem.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ trait Attachable extends LazyScope
val ibus: InterruptBusWrapper
}

trait HierarchicalLocation

case object InSubsystem extends HierarchicalLocation
case object InSystem extends HierarchicalLocation

trait HasBusLocationFunction {
type BusLocationFunction = PartialFunction[TLBusWrapperLocation, TLBusWrapper]
def locateTLBusWrapper: BusLocationFunction
Expand Down

0 comments on commit 3ad407a

Please sign in to comment.