43 lines
1.3 KiB
Scala
43 lines
1.3 KiB
Scala
//See LICENSE for license details.
|
|
package firesim.firesim
|
|
|
|
import freechips.rocketchip.config.{Parameters, Config, Field}
|
|
|
|
import midas.models._
|
|
|
|
import firesim.endpoints._
|
|
import firesim.configs._
|
|
|
|
/*******************************************************************************
|
|
* Full PLATFORM_CONFIG Configurations. These set simulator parameters.
|
|
*
|
|
* In general, if you're adding or removing features from any of these, you
|
|
* should CREATE A NEW ONE, WITH A NEW NAME. This is because the manager
|
|
* will store this name as part of the tags for the AGFI, so that later you can
|
|
* reconstruct what is in a particular AGFI. These tags are also used to
|
|
* determine which driver to build.
|
|
*******************************************************************************/
|
|
class FireSimConfig extends Config(new BasePlatformConfig)
|
|
|
|
class FireSimClockDivConfig extends Config(
|
|
new FireSimConfig)
|
|
|
|
class FireSimDDR3Config extends Config(
|
|
new FireSimConfig)
|
|
|
|
class FireSimDDR3LLC4MBConfig extends Config(
|
|
new FireSimConfig)
|
|
|
|
class FireSimDDR3FRFCFSConfig extends Config(
|
|
new FireSimConfig)
|
|
|
|
class FireSimDDR3FRFCFSLLC4MBConfig extends Config(
|
|
new FireSimConfig)
|
|
|
|
class FireSimDDR3FRFCFSLLC4MB3ClockDivConfig extends Config(
|
|
new FireSimConfig)
|
|
|
|
class Midas2Config extends Config(
|
|
new WithMultiCycleRamModels ++
|
|
new FireSimConfig)
|