-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules/dbe - Lz4 decoder #1075
Conversation
Temporary get improved version of the cocotb_test() rule from a forked repository. Internal-tag: [#44586] Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Internal-tag: [#46586] Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
The library contains the XLSChannelDriver and XLSChannelMonitor classes, which can be used to send or receive data from an XLS channel in a Cocotb simulation, respectively. Internal-tag: [#46586] Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
This commit adds an example that uses the Cocotb framework to validate behavior of the Verilog file converted from a simple DSLX code Internal-tag: [#46586] Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Creates cocotb_xls_test macro that generates a file with the timestamp specified in the rule definition. The macro is required to generate the timestamp for Icarus Verilog smulation in Cocotb. Internal-tag: [#46586] Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
Decoder for Lz4 - a dictionary-based data compression algorithm. Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
Related to #995. |
can we get a separate PR for that (so that we can merge it earlier) |
Do you plan to validate the dslx/ir/codegen versions against the python reference impl? |
I'd be good to get the encoder and the decoder in the same PR, in order to be able to more effectively cross-review them. If it's challenging to send both at the same time, I think it'd be easier to review the encoder first. |
Opened #1078 |
We can, but since I wrote most of the tests in cocotb, I'm afraid without them the implementation may look "incomplete". |
Yes, at least in one test I'm using Python decoder to decode (and thus validate) the output of DSLX encoder. |
Superseded by #1079 that includes both encoder and decoder. |
This is an implementation of Lz4 decoder in DSLX and accompanying cocotb testsuite. Since Lz4 encoder reuses much of the code from this PR, I'd like to prepare it after this one is reviewed.
Some notes: