rocketchip: add WithTimebase to set RTC frequency
This commit is contained in:
parent
57a329408c
commit
7660be039c
@ -148,6 +148,10 @@ class WithDTS(model: String, compat: Seq[String]) extends Config((site, here, up
|
|||||||
case DTSCompat => compat
|
case DTSCompat => compat
|
||||||
})
|
})
|
||||||
|
|
||||||
|
class WithTimebase(hertz: BigInt) extends Config((site, here, up) => {
|
||||||
|
case DTSTimebase => hertz
|
||||||
|
})
|
||||||
|
|
||||||
class WithScratchpad extends Config(new WithNMemoryChannels(0) ++ new WithDataScratchpad(16384))
|
class WithScratchpad extends Config(new WithNMemoryChannels(0) ++ new WithDataScratchpad(16384))
|
||||||
|
|
||||||
class DefaultFPGASmallConfig extends Config(new WithNSmallCores(1) ++ new DefaultFPGAConfig)
|
class DefaultFPGASmallConfig extends Config(new WithNSmallCores(1) ++ new DefaultFPGAConfig)
|
||||||
|
Loading…
Reference in New Issue
Block a user