Closed jevinskie closed 2 years ago
Thanks @jevinskie!
@jevinskie Default sample rate is set to samplerate=1e-12 which is not an integer, so it causes a crash if user does not set their own samplerate.
@pftbest: Thanks, I also had the issue and fixed it with https://github.com/enjoy-digital/litescope/commit/6f0287fecd57f76cf56bd4e04179788ff55baddc.
To use this, pass the samplerate kwarg to LiteScopeAnalyzer(). If using the sys domain, soc_obj.sys_clk_freq works.