Small comments to Clocks.scala
This commit is contained in:
@@ -75,15 +75,18 @@ object ClockingSchemeGenerators {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val aggregator = LazyModule(new ClockGroupAggregator("allClocks")).node
|
val aggregator = LazyModule(new ClockGroupAggregator("allClocks")).node
|
||||||
|
// provides the implicit clock to the system
|
||||||
(chiptop.implicitClockSinkNode
|
(chiptop.implicitClockSinkNode
|
||||||
:= ClockGroup()
|
:= ClockGroup()
|
||||||
:= aggregator)
|
:= aggregator)
|
||||||
|
// provides the system clock (ex. the bus clocks)
|
||||||
(systemAsyncClockGroup
|
(systemAsyncClockGroup
|
||||||
:*= resetSetter
|
:*= resetSetter
|
||||||
:*= ClockGroupNamePrefixer()
|
:*= ClockGroupNamePrefixer()
|
||||||
:*= aggregator)
|
:*= aggregator)
|
||||||
|
|
||||||
val referenceClockSource = ClockSourceNode(Seq(ClockSourceParameters()))
|
val referenceClockSource = ClockSourceNode(Seq(ClockSourceParameters()))
|
||||||
|
// provides all the divided clocks (from the top-level clock)
|
||||||
(aggregator
|
(aggregator
|
||||||
:= ClockGroupFrequencySpecifier(p(ClockFrequencyAssignersKey), p(DefaultClockFrequencyKey))
|
:= ClockGroupFrequencySpecifier(p(ClockFrequencyAssignersKey), p(DefaultClockFrequencyKey))
|
||||||
:= ClockGroupResetSynchronizer()
|
:= ClockGroupResetSynchronizer()
|
||||||
|
|||||||
Reference in New Issue
Block a user