Merge pull request #742 from ucb-bar/bump-rc-chisel-firrtl-3.4.1.x
Bump rc chisel firrtl 3.4.1.x
This commit is contained in:
@@ -72,7 +72,7 @@ def isolateAllTests(tests: Seq[TestDefinition]) = tests map { test =>
|
|||||||
// -- Rocket Chip --
|
// -- Rocket Chip --
|
||||||
|
|
||||||
// This needs to stay in sync with the chisel3 and firrtl git submodules
|
// This needs to stay in sync with the chisel3 and firrtl git submodules
|
||||||
val chiselVersion = "3.4.0"
|
val chiselVersion = "3.4.1"
|
||||||
lazy val chiselRef = ProjectRef(workspaceDirectory / "chisel3", "chisel")
|
lazy val chiselRef = ProjectRef(workspaceDirectory / "chisel3", "chisel")
|
||||||
lazy val chiselLib = "edu.berkeley.cs" %% "chisel3" % chiselVersion
|
lazy val chiselLib = "edu.berkeley.cs" %% "chisel3" % chiselVersion
|
||||||
lazy val chiselLibDeps = (chiselRef / Keys.libraryDependencies)
|
lazy val chiselLibDeps = (chiselRef / Keys.libraryDependencies)
|
||||||
@@ -81,7 +81,7 @@ lazy val chiselLibDeps = (chiselRef / Keys.libraryDependencies)
|
|||||||
// keeping scalaVersion in sync with chisel3 to the minor version
|
// keeping scalaVersion in sync with chisel3 to the minor version
|
||||||
lazy val chiselPluginLib = "edu.berkeley.cs" % "chisel3-plugin" % chiselVersion cross CrossVersion.full
|
lazy val chiselPluginLib = "edu.berkeley.cs" % "chisel3-plugin" % chiselVersion cross CrossVersion.full
|
||||||
|
|
||||||
val firrtlVersion = "1.4.+"
|
val firrtlVersion = "1.4.1"
|
||||||
lazy val firrtlRef = ProjectRef(workspaceDirectory / "firrtl", "firrtl")
|
lazy val firrtlRef = ProjectRef(workspaceDirectory / "firrtl", "firrtl")
|
||||||
lazy val firrtlLib = "edu.berkeley.cs" %% "firrtl" % firrtlVersion
|
lazy val firrtlLib = "edu.berkeley.cs" %% "firrtl" % firrtlVersion
|
||||||
val firrtlLibDeps = settingKey[Seq[sbt.librarymanagement.ModuleID]]("FIRRTL Library Dependencies sans antlr4")
|
val firrtlLibDeps = settingKey[Seq[sbt.librarymanagement.ModuleID]]("FIRRTL Library Dependencies sans antlr4")
|
||||||
|
|||||||
Submodule generators/boom updated: 4bb6464ff3...e1a70afed7
@@ -13,14 +13,6 @@ import freechips.rocketchip.subsystem._
|
|||||||
|
|
||||||
// For subsystem/BusTopology.scala
|
// For subsystem/BusTopology.scala
|
||||||
|
|
||||||
/**
|
|
||||||
* Keys that serve as a means to define crossing types from a Parameters instance
|
|
||||||
*/
|
|
||||||
case object SbusToMbusXTypeKey extends Field[ClockCrossingType](NoCrossing)
|
|
||||||
case object SbusToCbusXTypeKey extends Field[ClockCrossingType](NoCrossing)
|
|
||||||
case object CbusToPbusXTypeKey extends Field[ClockCrossingType](SynchronousCrossing())
|
|
||||||
case object FbusToSbusXTypeKey extends Field[ClockCrossingType](SynchronousCrossing())
|
|
||||||
|
|
||||||
// Biancolin: This, modified from Henry's email
|
// Biancolin: This, modified from Henry's email
|
||||||
/** Parameterization of a topology containing a banked coherence manager and a bus for attaching memory devices. */
|
/** Parameterization of a topology containing a banked coherence manager and a bus for attaching memory devices. */
|
||||||
case class CoherentMulticlockBusTopologyParams(
|
case class CoherentMulticlockBusTopologyParams(
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import freechips.rocketchip.interrupts._
|
|||||||
import freechips.rocketchip.util._
|
import freechips.rocketchip.util._
|
||||||
import freechips.rocketchip.tile._
|
import freechips.rocketchip.tile._
|
||||||
import freechips.rocketchip.amba.axi4._
|
import freechips.rocketchip.amba.axi4._
|
||||||
|
import freechips.rocketchip.prci.ClockSinkParameters
|
||||||
|
|
||||||
// Example parameter class copied from CVA6, not included in documentation but for compile check only
|
// Example parameter class copied from CVA6, not included in documentation but for compile check only
|
||||||
// If you are here for documentation, DO NOT copy MyCoreParams and MyTileParams directly - always figure
|
// If you are here for documentation, DO NOT copy MyCoreParams and MyTileParams directly - always figure
|
||||||
@@ -39,6 +40,7 @@ case class MyCoreParams(
|
|||||||
val mulDiv: Option[MulDivParams] = Some(MulDivParams()) // copied from Rocket
|
val mulDiv: Option[MulDivParams] = Some(MulDivParams()) // copied from Rocket
|
||||||
val fpu: Option[FPUParams] = Some(FPUParams()) // copied fma latencies from Rocket
|
val fpu: Option[FPUParams] = Some(FPUParams()) // copied fma latencies from Rocket
|
||||||
val nLocalInterrupts: Int = 0
|
val nLocalInterrupts: Int = 0
|
||||||
|
val useNMI: Boolean = false
|
||||||
val nPMPs: Int = 0 // TODO: Check
|
val nPMPs: Int = 0 // TODO: Check
|
||||||
val pmpGranularity: Int = 4 // copied from Rocket
|
val pmpGranularity: Int = 4 // copied from Rocket
|
||||||
val nBreakpoints: Int = 0 // TODO: Check
|
val nBreakpoints: Int = 0 // TODO: Check
|
||||||
@@ -51,6 +53,7 @@ case class MyCoreParams(
|
|||||||
val misaWritable: Boolean = false
|
val misaWritable: Boolean = false
|
||||||
val haveCFlush: Boolean = false
|
val haveCFlush: Boolean = false
|
||||||
val nL2TLBEntries: Int = 512 // copied from Rocket
|
val nL2TLBEntries: Int = 512 // copied from Rocket
|
||||||
|
val nL2TLBWays: Int = 1
|
||||||
val mtvecInit: Option[BigInt] = Some(BigInt(0)) // copied from Rocket
|
val mtvecInit: Option[BigInt] = Some(BigInt(0)) // copied from Rocket
|
||||||
val mtvecWritable: Boolean = true // copied from Rocket
|
val mtvecWritable: Boolean = true // copied from Rocket
|
||||||
val instBits: Int = if (useCompressed) 16 else 32
|
val instBits: Int = if (useCompressed) 16 else 32
|
||||||
@@ -83,6 +86,7 @@ case class MyTileParams(
|
|||||||
val boundaryBuffers: Boolean = false
|
val boundaryBuffers: Boolean = false
|
||||||
val dcache: Option[DCacheParams] = Some(DCacheParams())
|
val dcache: Option[DCacheParams] = Some(DCacheParams())
|
||||||
val icache: Option[ICacheParams] = Some(ICacheParams())
|
val icache: Option[ICacheParams] = Some(ICacheParams())
|
||||||
|
val clockSinkParams: ClockSinkParameters = ClockSinkParameters()
|
||||||
def instantiate(crossing: TileCrossingParamsLike, lookup: LookupByHartIdImpl)(implicit p: Parameters): MyTile = {
|
def instantiate(crossing: TileCrossingParamsLike, lookup: LookupByHartIdImpl)(implicit p: Parameters): MyTile = {
|
||||||
new MyTile(this, crossing, lookup)
|
new MyTile(this, crossing, lookup)
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule generators/cva6 updated: d40a8f5c84...139741a584
Submodule generators/hwacha updated: a354150cb5...62c01f5a88
Submodule generators/riscv-sodor updated: cca8a7aa57...8fc516409f
Submodule generators/rocket-chip updated: 577994e38e...a7b016e46e
Submodule generators/sifive-cache updated: d4db623ff5...e3a3000cc1
Submodule generators/testchipip updated: 6fbb1b77b9...ca67a843bd
@@ -13,6 +13,7 @@ import freechips.rocketchip.interrupts._
|
|||||||
import freechips.rocketchip.subsystem._
|
import freechips.rocketchip.subsystem._
|
||||||
import boom.lsu.{BoomNonBlockingDCache, LSU, LSUCoreIO}
|
import boom.lsu.{BoomNonBlockingDCache, LSU, LSUCoreIO}
|
||||||
import boom.common.{BoomTileParams, MicroOp, BoomCoreParams, BoomModule}
|
import boom.common.{BoomTileParams, MicroOp, BoomCoreParams, BoomModule}
|
||||||
|
import freechips.rocketchip.prci.ClockSinkParameters
|
||||||
|
|
||||||
|
|
||||||
class BoomLSUShim(implicit p: Parameters) extends BoomModule()(p)
|
class BoomLSUShim(implicit p: Parameters) extends BoomModule()(p)
|
||||||
@@ -190,6 +191,7 @@ case class BoomTraceGenParams(
|
|||||||
val blockerCtrlAddr = None
|
val blockerCtrlAddr = None
|
||||||
val name = None
|
val name = None
|
||||||
val traceParams = TraceGenParams(wordBits, addrBits, addrBag, maxRequests, memStart, numGens, dcache, hartId)
|
val traceParams = TraceGenParams(wordBits, addrBits, addrBag, maxRequests, memStart, numGens, dcache, hartId)
|
||||||
|
val clockSinkParams: ClockSinkParameters = ClockSinkParameters()
|
||||||
}
|
}
|
||||||
|
|
||||||
class BoomTraceGenTile private(
|
class BoomTraceGenTile private(
|
||||||
|
|||||||
Submodule tools/chisel3 updated: d379dca441...58d38f9620
Submodule tools/firrtl updated: 05d047a9be...7756f8f963
Reference in New Issue
Block a user