2016-08-11 02:20:00 +02:00
|
|
|
package coreplex
|
2016-08-10 03:26:52 +02:00
|
|
|
|
|
|
|
import Chisel._
|
2016-11-18 23:05:14 +01:00
|
|
|
import config._
|
2016-08-10 03:26:52 +02:00
|
|
|
import junctions._
|
2016-10-28 00:34:37 +02:00
|
|
|
import diplomacy._
|
2016-08-10 03:26:52 +02:00
|
|
|
import uncore.tilelink._
|
2016-10-28 00:34:37 +02:00
|
|
|
import uncore.tilelink2._
|
2016-08-10 03:26:52 +02:00
|
|
|
import uncore.util._
|
2016-09-28 06:27:07 +02:00
|
|
|
import util._
|
2016-08-10 03:26:52 +02:00
|
|
|
import rocket._
|
2016-08-10 18:49:56 +02:00
|
|
|
|
2016-11-04 03:48:05 +01:00
|
|
|
/////
|
|
|
|
|
2016-10-28 00:34:37 +02:00
|
|
|
class DefaultCoreplex(implicit p: Parameters) extends BaseCoreplex
|
2016-11-16 03:27:52 +01:00
|
|
|
with CoreplexRISCVPlatform
|
|
|
|
with RocketPlex {
|
2016-10-29 12:30:49 +02:00
|
|
|
override lazy val module = new DefaultCoreplexModule(this, () => new DefaultCoreplexBundle(this))
|
2016-09-03 02:45:08 +02:00
|
|
|
}
|
|
|
|
|
2016-10-29 12:30:49 +02:00
|
|
|
class DefaultCoreplexBundle[+L <: DefaultCoreplex](_outer: L) extends BaseCoreplexBundle(_outer)
|
2016-11-16 03:27:52 +01:00
|
|
|
with CoreplexRISCVPlatformBundle
|
|
|
|
with RocketPlexBundle
|
2016-09-15 21:19:22 +02:00
|
|
|
|
2016-10-29 12:30:49 +02:00
|
|
|
class DefaultCoreplexModule[+L <: DefaultCoreplex, +B <: DefaultCoreplexBundle[L]](_outer: L, _io: () => B) extends BaseCoreplexModule(_outer, _io)
|
2016-11-16 03:27:52 +01:00
|
|
|
with CoreplexRISCVPlatformModule
|
|
|
|
with RocketPlexModule
|
2016-08-10 03:26:52 +02:00
|
|
|
|
2016-09-22 01:54:35 +02:00
|
|
|
/////
|
|
|
|
|
2016-10-28 00:34:37 +02:00
|
|
|
class MultiClockCoreplex(implicit p: Parameters) extends BaseCoreplex
|
2016-11-19 02:15:57 +01:00
|
|
|
with CoreplexRISCVPlatform
|
|
|
|
with AsyncRocketPlex {
|
2016-10-29 12:30:49 +02:00
|
|
|
override lazy val module = new MultiClockCoreplexModule(this, () => new MultiClockCoreplexBundle(this))
|
2016-09-22 01:54:35 +02:00
|
|
|
}
|
|
|
|
|
2016-10-29 12:30:49 +02:00
|
|
|
class MultiClockCoreplexBundle[+L <: MultiClockCoreplex](_outer: L) extends BaseCoreplexBundle(_outer)
|
2016-11-19 02:15:57 +01:00
|
|
|
with CoreplexRISCVPlatformBundle
|
|
|
|
with AsyncRocketPlexBundle
|
2016-09-22 01:54:35 +02:00
|
|
|
|
2016-10-29 12:30:49 +02:00
|
|
|
class MultiClockCoreplexModule[+L <: MultiClockCoreplex, +B <: MultiClockCoreplexBundle[L]](_outer: L, _io: () => B) extends BaseCoreplexModule(_outer, _io)
|
2016-11-19 02:15:57 +01:00
|
|
|
with CoreplexRISCVPlatformModule
|
|
|
|
with AsyncRocketPlexModule
|