mirror of
https://github.com/enjoy-digital/litescope.git
synced 2025-01-04 09:52:27 -05:00
software/driver/logic_analyzer: fix case when config_csv is provided as a parameter
This commit is contained in:
parent
83e06cad80
commit
88c4e2d126
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ class LiteScopeLogicAnalyzerDriver():
|
|||
def __init__(self, regs, name, config_csv=None, clk_freq=None, debug=False):
|
||||
self.regs = regs
|
||||
self.name = name
|
||||
if config_csv is None:
|
||||
self.config_csv = config_csv
|
||||
if self.config_csv is None:
|
||||
self.config_csv = name + ".csv"
|
||||
if clk_freq is None:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue