Commit Graph

206 Commits

Author SHA1 Message Date
Florent Kermarrec 457f0875db ci: Update. 2023-02-27 12:45:33 +01:00
Florent Kermarrec 150d46edef examples/arty: Fix typos in instructions. 2023-02-27 12:07:48 +01:00
Florent Kermarrec f249137ad6 software/LiteScopeAnalyzerDriver: Cosmetic cleanup on progress bar. 2023-02-27 12:07:31 +01:00
Florent Kermarrec 7105b47402 ci: Bump to ubuntu 20.04. 2022-10-14 18:19:35 +02:00
Florent Kermarrec 52e9778f74 CONTRIBUTORS: Update. 2022-09-07 10:25:14 +02:00
Florent Kermarrec 1d7e91d019 litescope_cli: Add --host argument (To allow remote operation). 2022-07-22 12:36:23 +02:00
enjoy-digital 7ec00e173c
Merge pull request #45 from zeldin/csv_path
software/litescope_cli: pass full path of csv file to driver.
2022-07-11 13:58:16 +02:00
enjoy-digital 7efc0d99df
Merge pull request #44 from jevinskie/jev/bug/vcd-change
Don't dump VCD values if unchanged
2022-07-11 13:57:46 +02:00
Marcus Comstedt 4435a03f51 software/litescope_cli: pass full path of csv file to driver. 2022-07-04 17:12:12 +02:00
Jevin Sweval bd23a3b423 Don't dump VCD values if unchanged 2022-06-20 17:25:02 -07:00
Florent Kermarrec 878f21a647 CONTRIBUTORS: Updpte. 2022-05-02 13:49:48 +02:00
Florent Kermarrec 2fc04386d3 examples/arty: Use full import. 2022-05-02 13:34:19 +02:00
Florent Kermarrec d1c480d0e8 litescope/core: Remove duplicates from split_signals.
Still allow the user to add duplicated signals, but will not error when running Litescope in --gui mode.
2022-04-15 09:16:24 +02:00
Florent Kermarrec f1acdf4c17 litescope_gui: Add initial and very simple GUI support. 2022-03-16 16:56:07 +01:00
Florent Kermarrec 1d85cbcb6d core/_Storage: Simplify using connect and create specific endpoint for read_source. 2022-03-14 11:45:58 +01:00
Florent Kermarrec 3fb1018737 test/test_analzer: Update. 2022-03-14 10:21:57 +01:00
Florent Kermarrec 13813457d7 core/_Storage: Simplify/Fix w_conv.sink.data assignement.
- Constant(0, pads_bits) breaks cases where pads_bits==0.
- Assignement of MSBs to 0 is implicit.
2022-03-14 09:53:54 +01:00
enjoy-digital df23b3f8cd
Merge pull request #41 from smunaut/proto
core: Change upload protocol to allow bursting through xBone
2022-03-14 09:33:06 +01:00
Sylvain Munaut c5137773f6 core: Change upload protocol to allow bursting through xBone
Instead of using a very wide CSR, we force it to max 32 bits
and read each captured words as several sub-words.

Also, instead of checking for 'valid' flag every time, we
just read the 'level' of the memory buffer. Given the way
LiteScope works, we know capture is done and this is how many
words there is to read.

All in all this means that reading the data off the
buffer is just reading the same address over and over meaning
we can use very long bursts which helps _a_lot_ to speed things
up.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2022-03-09 22:07:27 +01:00
Florent Kermarrec 6f0287fecd core: Fix default samplerate and convert to int. 2022-03-07 17:39:31 +01:00
enjoy-digital 71187f8bd0
Merge pull request #40 from jevinskie/jev/vcd-timescale-fix
VCD: Add samplerate support to fix displayed timestamps
2022-01-31 16:55:12 +01:00
Jevin Sweval 21f6fcaa28 VCD: Add samplerate support to fix displayed timestamps
To use this, pass the samplerate kwarg to LiteScopeAnalyzer(). If using the sys domain, soc_obj.sys_clk_freq works.
2022-01-29 13:44:27 -08:00
Florent Kermarrec 42a357714b ci: Install ninja-build/meson. 2022-01-05 09:24:43 +01:00
Florent Kermarrec 769b9b6e61 Bump year. 2022-01-05 09:07:13 +01:00
Florent Kermarrec 08072a78ba Copyrights: Bump year. 2021-08-31 17:48:07 +02:00
Florent Kermarrec 14e8af8dd9 CONTRIBUTORS: Update. 2021-08-31 17:47:36 +02:00
Florent Kermarrec 45f562d63c core/LiteScopeAnalyzer: Switch register parameter to boolean. 2021-08-25 14:09:53 +02:00
enjoy-digital 1596bff127
Merge pull request #30 from antmicro/jboc/registered-inputs
litescope/core: add option to register input signals to cut timings
2021-08-25 13:23:59 +02:00
enjoy-digital 405b912829
Merge pull request #31 from sthornington/master
Fix the cli error messages to make it clearer when you need to provide more CSVs
2021-08-25 13:17:15 +02:00
enjoy-digital bf1c37864a
Merge branch 'master' into master 2021-08-25 13:17:08 +02:00
enjoy-digital ea431069f7
Merge pull request #36 from DurandA/clear-scope
litescope/core: add function to clear scope
2021-08-25 13:16:43 +02:00
Florent Kermarrec 431c730874 software/dump/json: Fix typo. 2021-08-25 13:06:00 +02:00
enjoy-digital 9437f52233
Merge pull request #35 from DurandA/json-exporter
software/dump: add JSON dump
2021-08-25 13:05:20 +02:00
Arnaud Durand 1243ab3c81 software/dump: add JSON dump 2021-05-24 03:57:58 +02:00
Arnaud Durand fab60ab5e0 litescope/core: add function to clear scope
The analyzer driver can be reused for further capturing by calling
the clear() function.
2021-05-24 03:57:03 +02:00
Florent Kermarrec 72c9930705 test/test_examples: Update. 2021-05-03 12:12:16 +02:00
Simon Thornington fe515d43e8 fix test, broken by the vendor_ prefixing of the platform artifacts 2021-04-10 19:04:38 -04:00
Simon Thornington 1e5305a2a4 trivial change 2021-04-10 18:58:42 -04:00
Simon Thornington 53637af809 fix typo 2021-04-10 13:59:27 -04:00
Simon Thornington ad2a781681 fix value conversion for hex values 2021-04-10 13:58:32 -04:00
Simon Thornington 2f37678b61 optional parameter to pass in the SoC CSR CSV, in addition to the analyzer CSV, necessary if the SoC was build with a --csr-csv other than csr.csv. Also improve the error messages a bit. 2021-04-10 13:07:14 -04:00
Jędrzej Boczar 824985cdd3 litescope/core: add option to register input signals to cut timings 2021-03-23 09:58:52 +01:00
Florent Kermarrec f7a9672284 platforms/targets: switch to LiteX-Boards. 2021-01-04 14:14:45 +01:00
Florent Kermarrec f78400aa29 ci: install RISC-V GCC. 2020-12-17 16:56:31 +01:00
Florent Kermarrec c8b7e1a922 litescope/core: set default csr_csv to csr_csv="analyzer.csv".
Simplify creating basic analyzer:

from litescope import LiteScopeAnalyzer
analyzer_signals = [...]
self.submodules.analyzer = LiteScopeAnalyzer(analyzer_signals, depth=512)
self.add_csr("analyzer")
2020-11-30 15:04:09 +01:00
Florent Kermarrec 0a67448ce9 ci: migrate from Travis CI to Github Actions. 2020-11-24 13:55:54 +01:00
Florent Kermarrec 94e2d15c94 software/litescope_cli: cleanup, use --csv to select analyzer file and add --dump argument. 2020-10-30 11:58:38 +01:00
Florent Kermarrec e6e5675100 software/litescope_cli: add name support (default="analyzer").
We can have several analyzers in the design, this allows selecting the one to use.
2020-10-23 10:31:46 +02:00
Florent Kermarrec d6911390c0 software/litescope_cli: add group support. 2020-10-16 10:40:24 +02:00
Florent Kermarrec dc9109030a software/driver/analyzer/add_trigger: add support for binary/hexa expressions with x support.
ex: litescope_cli -v sig1 0b111x0
ex: litescope_cli -v sig2 0x1234567x
2020-09-03 13:16:32 +02:00