mirror of
https://github.com/supleed2/EIE4-FYP.git
synced 2024-12-22 14:15:50 +00:00
Update make.py to use TestWave
from TestSaw
This commit is contained in:
parent
4c4d287c63
commit
9d5b77be87
20
make.py
20
make.py
|
@ -235,12 +235,16 @@ class BaseSoC(SoCCore):
|
||||||
)
|
)
|
||||||
|
|
||||||
# DAC Control / Audio Blocks ---------------------------------------------------------------
|
# DAC Control / Audio Blocks ---------------------------------------------------------------
|
||||||
from testSaw import TestSaw
|
from testWave import TestWave
|
||||||
self.audio = TestSaw(
|
self.audio = TestWave(
|
||||||
platform = platform,
|
platform = platform,
|
||||||
pads = platform.request("dac_pcm")
|
pads = platform.request("dac_pcm")
|
||||||
)
|
)
|
||||||
|
# from testSaw import TestSaw
|
||||||
|
# self.audio = TestSaw(
|
||||||
|
# platform = platform,
|
||||||
|
# pads = platform.request("dac_pcm")
|
||||||
|
# )
|
||||||
# from dacVolume import DacVolume
|
# from dacVolume import DacVolume
|
||||||
# self.dac_vol = DacVolume(
|
# self.dac_vol = DacVolume(
|
||||||
# platform = platform,
|
# platform = platform,
|
||||||
|
@ -264,10 +268,12 @@ class BaseSoC(SoCCore):
|
||||||
# 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.osc.re,
|
||||||
# self.audio.targ0.storage,
|
# self.audio.osc.storage,
|
||||||
self.audio.wave0.re,
|
self.audio.tf.re,
|
||||||
# self.audio.wave0.storage,
|
# self.audio.tf.storage,
|
||||||
|
self.audio.wav.re,
|
||||||
|
# self.audio.wav.storage,
|
||||||
self.audio.backpressure_48,
|
self.audio.backpressure_48,
|
||||||
# self.audio.sample_48,
|
# self.audio.sample_48,
|
||||||
self.audio.audioready_48,
|
self.audio.audioready_48,
|
||||||
|
|
Loading…
Reference in a new issue