Initial commit for the hwacha reference-chip/rocket re-integration.
This commit is contained in:
parent
04108270ff
commit
7da65434ee
@ -29,7 +29,8 @@ object BuildSettings extends Build {
|
||||
lazy val hardfloat = Project("hardfloat", file("hardfloat"), settings = buildSettings) dependsOn(chisel)
|
||||
lazy val uncore = Project("uncore", file("uncore"), settings = buildSettings) dependsOn(hardfloat)
|
||||
lazy val rocket = Project("rocket", file("rocket"), settings = buildSettings) dependsOn(uncore)
|
||||
lazy val referencechip = Project("referencechip", file("."), settings = buildSettings ++ chipSettings) dependsOn(rocket)
|
||||
lazy val hwacha = Project("hwacha", file("hwacha"), settings = buildSettings) dependsOn(uncore, rocket)
|
||||
lazy val referencechip = Project("referencechip", file("."), settings = buildSettings ++ chipSettings) dependsOn(rocket, hwacha)
|
||||
|
||||
val elaborateTask = InputKey[Unit]("elaborate", "convert chisel components into backend source code")
|
||||
val makeTask = InputKey[Unit]("make", "trigger backend-specific makefile command")
|
||||
|
@ -254,8 +254,11 @@ class Top extends Module {
|
||||
val ic = ICacheConfig(128, 2, ntlb = 8, nbtb = 16)
|
||||
val dc = DCacheConfig(128, 4, ntlb = 8,
|
||||
nmshr = NMSHRS, nrpq = 16, nsdq = 17, states = co.nClientStates)
|
||||
val hc = hwacha.HwachaConfiguration(8, 256)
|
||||
val rc = RocketConfiguration(tl, ic, dc,
|
||||
fpu = HAS_FPU)
|
||||
fpu = HAS_FPU,
|
||||
rocc = (c: RocketConfiguration) => (new hwacha.Hwacha(hc, c))
|
||||
)
|
||||
|
||||
val io = new VLSITopIO(HTIF_WIDTH)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user