Add scope trigger target and incr depth

This commit is contained in:
Aadi Desai 2023-05-12 14:04:42 +01:00
parent 0a06e93edf
commit 03219820e5
No known key found for this signature in database

View file

@ -241,6 +241,7 @@ class BaseSoC(SoCCore):
self.add_uartbone(name="debug_uart", baudrate=115200) self.add_uartbone(name="debug_uart", baudrate=115200)
from litescope import LiteScopeAnalyzer from litescope import LiteScopeAnalyzer
analyzer_signals = [ analyzer_signals = [
self.audio.targ.re,
self.audio.targ.storage, self.audio.targ.storage,
self.audio.backpressure_48, self.audio.backpressure_48,
self.audio.leftrightaudio_48, self.audio.leftrightaudio_48,
@ -248,7 +249,7 @@ class BaseSoC(SoCCore):
] ]
self.submodules.analyzer = LiteScopeAnalyzer( self.submodules.analyzer = LiteScopeAnalyzer(
analyzer_signals, analyzer_signals,
depth = 1024, depth = 2048,
clock_domain = "sys", clock_domain = "sys",
samplerate = sys_clk_freq, samplerate = sys_clk_freq,
csr_csv = "analyzer.csv", csr_csv = "analyzer.csv",