Add Sawtooth module to build

This commit is contained in:
Aadi Desai 2023-03-11 18:05:56 +00:00
parent 4be040e449
commit 2b18d82358
No known key found for this signature in database

View file

@ -28,6 +28,7 @@ from litedram.phy import ECP5DDRPHY
from testLED import TestLed from testLED import TestLed
from testRGB import TestRgb from testRGB import TestRgb
from testSaw import TestSaw
# CRG --------------------------------------------------------------------------------------------- # CRG ---------------------------------------------------------------------------------------------
@ -225,6 +226,12 @@ class BaseSoC(SoCCore):
) )
]) ])
# DAC Control / Audio Blocks ---------------------------------------------------------------
self.audio = TestSaw(
platform = platform,
pads = platform.request("dac_pcm")
)
# Build -------------------------------------------------------------------------------------------- # Build --------------------------------------------------------------------------------------------
def main(): def main():