Added config for GPU mem tracer
This commit is contained in:
Submodule fpga/fpga-shells updated: b6cd1bb7fe...474ad19113
@@ -25,6 +25,11 @@ class DigitalTop(implicit p: Parameters) extends ChipyardSystem
|
||||
with sifive.blocks.devices.gpio.HasPeripheryGPIO // Enables optionally adding the sifive GPIOs
|
||||
with sifive.blocks.devices.spi.HasPeripherySPIFlash // Enables optionally adding the sifive SPI flash controller
|
||||
with sifive.blocks.devices.spi.HasPeripherySPI // Enables optionally adding the sifive SPI port
|
||||
|
||||
|
||||
with freechips.rocketchip.tilelink.CanHaveGPUTracer // Enable GPU Tracer
|
||||
|
||||
|
||||
with icenet.CanHavePeripheryIceNIC // Enables optionally adding the IceNIC for FireSim
|
||||
with chipyard.example.CanHavePeripheryInitZero // Enables optionally adding the initzero example widget
|
||||
with chipyard.example.CanHavePeripheryGCD // Enables optionally adding the GCD example widget
|
||||
|
||||
24
generators/chipyard/src/main/scala/config/GPUConfig.scala
Normal file
24
generators/chipyard/src/main/scala/config/GPUConfig.scala
Normal file
@@ -0,0 +1,24 @@
|
||||
package chipyard
|
||||
|
||||
import freechips.rocketchip.config.{Config}
|
||||
import freechips.rocketchip.diplomacy.{AsynchronousCrossing}
|
||||
|
||||
|
||||
|
||||
class GPUTracerConfig extends Config(
|
||||
|
||||
|
||||
// Attaching GPU Tracer to SBus
|
||||
new freechips.rocketchip.tilelink.WithGPUTracer(4, "vecadd.core1.thread4.trace")++
|
||||
|
||||
|
||||
// Creating L2
|
||||
new freechips.rocketchip.subsystem.WithInclusiveCache(nWays=8, capacityKB=512) ++
|
||||
new freechips.rocketchip.subsystem.WithNBanks(4) ++
|
||||
new chipyard.config.WithSystemBusWidth(64) ++
|
||||
|
||||
new freechips.rocketchip.subsystem.WithNCustomSmallCores(1) ++
|
||||
new chipyard.config.AbstractConfig
|
||||
)
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@ import freechips.rocketchip.diplomacy.{AsynchronousCrossing}
|
||||
// Rocket Configs
|
||||
// --------------
|
||||
|
||||
|
||||
|
||||
|
||||
class RocketConfig extends Config(
|
||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ // single rocket-core
|
||||
new chipyard.config.AbstractConfig)
|
||||
|
||||
Submodule generators/rocket-chip updated: 478fc5ac52...47113c1c44
1
tools/chisel-testers
Submodule
1
tools/chisel-testers
Submodule
Submodule tools/chisel-testers added at ce4e027e5f
Reference in New Issue
Block a user