Skip to content

Conversation

rdob-ant
Copy link
Contributor

This is an implementation of Lz4 encoder and decoder in DSLX and accompanying cocotb testsuites. It supersedes #1075 .

The source branch additionally includes:

  1. Changes from Add cocotb framework #1057 for cocotb support
  2. Bugfix from bugfix: examples/ram: 1R1W - fix missing mask expansion #1078
  3. Temporary retarget for bazel_hdl_rules subrepo (minor bugfix for cocotb, PR for it will be open soon)

Above things will be dropped from this PR once we get the respective PRs merged.

rw1nkler and others added 6 commits July 25, 2023 17:51
Temporary get improved version of the cocotb_test() rule from
a forked repository.

Internal-tag: [#44586]
Signed-off-by: Robert Winkler <[email protected]>
Internal-tag: [#46586]
Signed-off-by: Robert Winkler <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
rdob-ant added 3 commits July 27, 2023 14:11
Initialization check did not work properly with masked reads when more
partitions have been initialized than the read actually requested.
Added test for masked reads and writes when NUM_PART != DATA_WIDTH.

Signed-off-by: Roman Dobrodii <[email protected]>
Temporary solution.
Without this, multiple cocotb test targets in the same dir do not work.

Signed-off-by: Roman Dobrodii <[email protected]>
Example implementation of Lz4 - a dictionary-based data
compression algorithm.

Signed-off-by: Roman Dobrodii <[email protected]>
@rdob-ant
Copy link
Contributor Author

rdob-ant commented Aug 3, 2023

Superseded by #1092

@rdob-ant rdob-ant closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants