Update Idealized PLL config

This commit is contained in:
David Biancolin
2020-09-16 16:30:25 -07:00
parent 8e4dedcecf
commit b8d3e4a66d
2 changed files with 3 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ object ClockingSchemeGenerators {
implicit val p = chiptop.p implicit val p = chiptop.p
// Requires existence of undriven asyncClockGroups in subsystem // Requires existence of undriven asyncClockGroups in subsystem
val systemAsyncClockGroup = chiptop.lSystem match { val systemAsyncClockGroup = chiptop.lazySystem match {
case l: BaseSubsystem if (p(SubsystemDriveAsyncClockGroupsKey).isEmpty) => case l: BaseSubsystem if (p(SubsystemDriveAsyncClockGroupsKey).isEmpty) =>
l.asyncClockGroupsNode l.asyncClockGroupsNode
} }
@@ -204,7 +204,7 @@ object ClockingSchemeGenerators {
o.reset := reset_wire o.reset := reset_wire
} }
chiptop.harnessFunctions += ((th: HasHarnessUtils) => { chiptop.harnessFunctions += ((th: HasHarnessSignalReferences) => {
clock_io := th.harnessClock clock_io := th.harnessClock
Nil }) Nil })
} }

View File

@@ -193,5 +193,5 @@ class WithForcedTileFrequency(fMHz: Double) extends Config((site, here, up) => {
}) })
class WithIdealizedPLL extends Config((site, here, up) => { class WithIdealizedPLL extends Config((site, here, up) => {
case ChipyardClockKey => ClockDrivers.idealizedPLL case ClockingSchemeKey => ClockingSchemeGenerators.idealizedPLL
}) })