Added FFT Generator integration

This commit is contained in:
Animesh Agrawal
2021-12-24 05:07:17 -08:00
committed by Animesh Agrawal
parent 9adb1036a3
commit c0f5c77520
5 changed files with 17 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ class DigitalTop(implicit p: Parameters) extends ChipyardSystem
with chipyard.example.CanHavePeripheryStreamingPassthrough // Enables optionally adding the DSPTools streaming-passthrough example widget
with nvidia.blocks.dla.CanHavePeripheryNVDLA // Enables optionally having an NVDLA
with chipyard.clocking.HasChipyardPRCI // Use Chipyard reset/clock distribution
with FFTGenerator.HasPeripheryFFT
{
override lazy val module = new DigitalTopModule(this)
}

View File

@@ -21,6 +21,12 @@ class TinyRocketConfig extends Config(
new freechips.rocketchip.subsystem.With1TinyCore ++ // single tiny rocket-core
new chipyard.config.AbstractConfig)
class RocketWithFFT extends Config(
new FFTGenerator.WithFFTNumPoints(8) ++
new FFTGenerator.WithFFTBaseAddr(0x2000) ++
new FFTGenerator.WithFFTGenerator ++
new RocketConfig)
class HwachaRocketConfig extends Config(
new chipyard.config.WithHwachaTest ++
new hwacha.DefaultHwachaConfig ++ // use Hwacha vector accelerator