Merge pull request #279 from ucb-bar/printable-sha3

Update SHA3 to have parameterized printfs
This commit is contained in:
Abraham Gonzalez
2019-10-09 18:42:25 -07:00
committed by GitHub
3 changed files with 10 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ lazy val boom = (project in file("generators/boom"))
.settings(commonSettings)
lazy val sha3 = (project in file("generators/sha3"))
.dependsOn(rocketchip, chisel_testers)
.dependsOn(rocketchip, chisel_testers, midasTargetUtils)
.settings(commonSettings)
lazy val tapeout = conditionalDependsOn(project in file("./tools/barstools/tapeout/"))

View File

@@ -153,6 +153,14 @@ class FireSimRocketChipSha3L2Config extends Config(
new WithNBigCores(1) ++
new FireSimRocketChipConfig)
// SHA-3 accelerator config with synth printfs enabled
class FireSimRocketChipSha3L2PrintfConfig extends Config(
new WithInclusiveCache ++
new sha3.WithSha3Printf ++
new sha3.WithSha3Accel ++
new WithNBigCores(1) ++
new FireSimRocketChipConfig)
class FireSimBoomConfig extends Config(
new WithBootROM ++
new WithPeripheryBusFrequency(BigInt(3200000000L)) ++