diff --git a/build.sbt b/build.sbt index ccc9e87f..9fa5352e 100644 --- a/build.sbt +++ b/build.sbt @@ -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/")) diff --git a/generators/firechip/src/main/scala/TargetConfigs.scala b/generators/firechip/src/main/scala/TargetConfigs.scala index c91ae05e..f18f1e58 100644 --- a/generators/firechip/src/main/scala/TargetConfigs.scala +++ b/generators/firechip/src/main/scala/TargetConfigs.scala @@ -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)) ++ diff --git a/generators/sha3 b/generators/sha3 index e6f5bab6..60ddfe7c 160000 --- a/generators/sha3 +++ b/generators/sha3 @@ -1 +1 @@ -Subproject commit e6f5bab675bfdad0ebdc23239adbd52ca89706e6 +Subproject commit 60ddfe7c5b2c1640d91e7d9a35c65011c1600810