Remove volume module for now as it stops boot

This commit is contained in:
Aadi Desai 2023-05-27 12:08:03 +01:00
parent 4b58db7921
commit 032bb59dea
No known key found for this signature in database

18
make.py
View file

@ -239,20 +239,20 @@ class BaseSoC(SoCCore):
pads = platform.request("dac_pcm") pads = platform.request("dac_pcm")
) )
self.dac_vol = DacVolume( # self.dac_vol = DacVolume(
platform = platform, # platform = platform,
pads = platform.request("dac_ctrl") # pads = platform.request("dac_ctrl")
) # )
# LiteScope Analyzer ----------------------------------------------------------------------- # LiteScope Analyzer -----------------------------------------------------------------------
self.add_uartbone(name="debug_uart", baudrate=921600) self.add_uartbone(name="debug_uart", baudrate=921600)
from litescope import LiteScopeAnalyzer from litescope import LiteScopeAnalyzer
analyzer_signals = [ analyzer_signals = [
self.dac_vol.volume.re, # self.dac_vol.volume.re,
self.dac_vol.volume.storage, # self.dac_vol.volume.storage,
self.dac_vol.m_sel_n, # self.dac_vol.m_sel_n,
self.dac_vol.m_clock, # self.dac_vol.m_clock,
self.dac_vol.m_data, # self.dac_vol.m_data,
self.audio.targ0.re, self.audio.targ0.re,
# self.audio.targ0.storage, # self.audio.targ0.storage,
self.audio.wave0.re, self.audio.wave0.re,