enjoy-digital / litescope

Small footprint and configurable embedded FPGA logic analyzer
Other
167 stars 40 forks source link

Add back support for run length encoding #7

Open mithro opened 7 years ago

mithro commented 7 years ago

Run length encoding is important when your sample rate is much higher than your actual rate of change.

The simplest format is that the highest bit indicates if this is a sample or a "repeat the last sample x times" value.

Probably best to follow what the Open Bench Logic Sniffer / SUMP do? More info;

Adding this issue so I don't forget about it.

jevinskie commented 3 years ago

If the high bit method is used, it could be useful to allow grouping of signals into RLE groups. e.g. one for some usually fast data (or no RLE there at all) and two other RLE groups for control signals for, say, block A and B that are have high activity at different times.