-
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/zstd: Rework ZSTD Decoder #1654
base: main
Are you sure you want to change the base?
Commits on Nov 22, 2024
-
modules/zstd/cocotb: Add cocotb testing utilities
- XLSStruct for easier handling and serializing/deserializing XLS structs - XLSChannel that serves as a dummy receiving channel - XLSMonitor that monitors transactions on an XLS channel - XLSDriver that can send data on an XLS channel - LatencyScoreboard that can measure latency between corresponding transactions on input and output buses - File-backed AXI memory python model Internal-tag: [#64075] Signed-off-by: Krzysztof Obłonczek <koblonczek@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 603a5c4 - Browse repository at this point
Copy the full SHA 603a5c4View commit details -
modules/zstd/memory/MemReader: Add cocotb tests
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for cc7a81a - Browse repository at this point
Copy the full SHA cc7a81aView commit details -
modules/zstd/memory/AxiWriter: Add cocotb test
Co-authred-by: Pawel Czarnecki <pczarnecki@antmicro.com> Co-authred-by: Robert Winkler <rwinkler@antmicro.com> Signed-off-by: Michal Czyz <mczyz@antmicro.com> Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com> Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 9845744 - Browse repository at this point
Copy the full SHA 9845744View commit details -
modules/zstd/memory/MemWriter: Add cocotb test
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for ece47bd - Browse repository at this point
Copy the full SHA ece47bdView commit details -
modules/zstd/memory/README: Describe verilog simulation
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for fffbfb3 - Browse repository at this point
Copy the full SHA fffbfb3View commit details -
CI/modules-zstd: Add calls to verilog simulation targets
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 26d3208 - Browse repository at this point
Copy the full SHA 26d3208View commit details -
modules/zstd/BUILD: increase pipeline_stages for DecoderMux proc
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for f2e9dab - Browse repository at this point
Copy the full SHA f2e9dabView commit details -
modules/rle/common: Add RLE output struct
Signed-off-by: Maciej Torhan <mtorhan@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 72cd947 - Browse repository at this point
Copy the full SHA 72cd947View commit details -
modules/zstd: Remove MagicNumberDecoder
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 392616b - Browse repository at this point
Copy the full SHA 392616bView commit details -
modules/zstd: Remove BlockDecoder proc
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 3bb434f - Browse repository at this point
Copy the full SHA 3bb434fView commit details -
modules/zstd: Remove DecDemux proc
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 3d216d4 - Browse repository at this point
Copy the full SHA 3d216d4View commit details -
modules/zstd/block_header: Specify new type for the block size
Signed-off-by: Maciej Torhan <mtorhan@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for f9ce3a3 - Browse repository at this point
Copy the full SHA f9ce3a3View commit details -
modules/zstd: Cleanup BlockHeader
Remove references to buffer structs as those are not used anywhere Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 8dd1ba4 - Browse repository at this point
Copy the full SHA 8dd1ba4View commit details -
modules/zstd/BUILD: Introduce common codegen args
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for f1c8346 - Browse repository at this point
Copy the full SHA f1c8346View commit details -
modules/zstd: Add AxiCsrAccessor
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for d42ccde - Browse repository at this point
Copy the full SHA d42ccdeView commit details -
Co-authored-by: Pawel Czarnecki <pczarnecki@antmicro.com> Co-authored-by: Robert Winkler <rwinkler@antmicro.com> Signed-off-by: Maciej Torhan <mtorhan@antmicro.com> Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com> Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for fe4cf70 - Browse repository at this point
Copy the full SHA fe4cf70View commit details -
modules/zstd: Add FrameHeaderDecoder
Signed-off-by: Krzysztof Oblonczek <koblonczek@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 96c67b2 - Browse repository at this point
Copy the full SHA 96c67b2View commit details -
modules/zstd: Add BlockHeaderDecoder
Signed-off-by: Maciej Torhan <mtorhan@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for f2220fb - Browse repository at this point
Copy the full SHA f2220fbView commit details -
modules/zstd: Add RawBlockDecoder
Co-authored-by: Pawel Czarnecki <pczarnecki@antmicro.com> Signed-off-by: Maciej Torhan <mtorhan@antmicro.com> Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 872e528 - Browse repository at this point
Copy the full SHA 872e528View commit details -
modules/zstd: Add RleBlockDecoder
Co-authored-by: Pawel Czarnecki <pczarnecki@antmicro.com> Co-authored-by: Robert Winkler <rwinkler@antmicro.com> Signed-off-by: Maciej Torhan <mtorhan@antmicro.com> Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com> Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 3fce60e - Browse repository at this point
Copy the full SHA 3fce60eView commit details -
Co-authored-by: Pawel Czarnecki <pczarnecki@antmicro.com> Signed-off-by: Robert Winkler <rwinkler@antmicro.com> Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 87691da - Browse repository at this point
Copy the full SHA 87691daView commit details -
modules/zstd/cocotb: Add ZSTD frame generator library
This reverts commit 04ad379225b706ddf492d440c673e77348d7a409.
Configuration menu - View commit details
-
Copy full SHA for af84d2c - Browse repository at this point
Copy the full SHA af84d2cView commit details -
dependency_support: Add zstandard python library
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for ffa45ff - Browse repository at this point
Copy the full SHA ffa45ffView commit details -
modules/zstd: Add verilog simulation of the ZstdDecoder
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for ee6eb0d - Browse repository at this point
Copy the full SHA ee6eb0dView commit details -
modules/zstd: Update documentation
Internal-tag: [#67096] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 4e8dc37 - Browse repository at this point
Copy the full SHA 4e8dc37View commit details -
modules/zstd: Add AxiRamReader implementation
Signed-off-by: Maciej Torhan <mtorhan@antmicro.com> Signed-off-by: Krzysztof Obłonczek <koblonczek@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 87fc4e4 - Browse repository at this point
Copy the full SHA 87fc4e4View commit details -
modules/zstd/zstd_dec: Add DSLX tests for ZstdDecoder
Signed-off-by: Krzysztof Obłonczek <koblonczek@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 07b2d40 - Browse repository at this point
Copy the full SHA 07b2d40View commit details -
modules/zstd/zstd_dec: handle contents of the Status CSR
Internal-tag: [#66955] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for a871c8f - Browse repository at this point
Copy the full SHA a871c8fView commit details -
modules/zstd/data_generator: fix formatting
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for bbcb4e7 - Browse repository at this point
Copy the full SHA bbcb4e7View commit details -
modules/zstd/memory:axi_stream_remove_empty: Fix byte ordering
* Fix byte ordering when receiving a series of non-empty packets * Adjust MemReader DSLX tests Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 1d5b4a8 - Browse repository at this point
Copy the full SHA 1d5b4a8View commit details -
modules/zstd/memory/axi_stream_remove_empty: Extract remove_empty_byt…
…es function into a separate proc * Extract the operation of removing not-strobed bytes from input frames to a separate proc * Extract control logic to AxiStreamRemoveEmptyInternal proc * Optimize strobe calculation Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 7872c78 - Browse repository at this point
Copy the full SHA 7872c78View commit details -
modules/zstd/memory/axi_writer: Assign parameterized max lane value
Fix paramaterization of the proc Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for c774bdb - Browse repository at this point
Copy the full SHA c774bdbView commit details -
modules/zstd/memory/mem_writer: Add support for not-full input data p…
…ackets Add AxiStreamRemoveEmpty proc to the processing pipeline. It removes non-strobed bytes from the input AXI Stream frames and forms full frames (ensures that only the last input data packet won't be full). Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for a96eda6 - Browse repository at this point
Copy the full SHA a96eda6View commit details -
modules/zstd/memory/mem_writer: Add MemWriterInternal proc
* Extract control logic to MemWriterInternal proc * Create alias for the MemWriter response type Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for a85da0e - Browse repository at this point
Copy the full SHA a85da0eView commit details -
modules/zstd/zstd_dec: Write decoded data to the memory
SequenceExecutor: * Add output channel in the format compliant with MemWriter input data channel type ZstdDecoder: * Add MemWriter proc: * Write request formed based on the address of the OutputBuffer CSR and FrameContentSize field from the Frame Header * Data to write is sent out to the proc by the SequenceExecutor * Transition to the FINISH state (and triggers notify channel) only after receiving the response from the MemWriter * DSLX tests: * Receive decoded data sent out on the AXI interface by the MemWriter proc * Mock the output memory buffer as a DSLX array * Cocotb tests: * Move third-party verilog modules (AXI Interconnect) to external directory * Replace AXI Interconnect with AXI Crossbar that handles simultaneous AXI Read and Write transactions * Add reference memory and fill it with expected data for comparison against testbench memory at the end of the decoding Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 58b0a79 - Browse repository at this point
Copy the full SHA 58b0a79View commit details -
modules/zstd/zstd_dec: Remove stream-based output interface
* Remove Repacketizer proc * Remove stream-based output channels from * SequenceExecutor * ZstdDecoder Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 2199a2d - Browse repository at this point
Copy the full SHA 2199a2dView commit details -
modules/zstd/zstd_dec_cocotb_test: Improve Verilog simulation
* Decode multiple ZSTD frames in a single cocotb testbench * Add one cocotb testbench per type of the ZSTD frames: * Frames with RAW blocks only * Frames with RLE blocks only * Frames with Compressed blocks only (disabled) * Frames with mixed blocks (disabled) Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 864a733 - Browse repository at this point
Copy the full SHA 864a733View commit details -
modules/zstd/README: Update output interface description
Internal-tag: [#67272] Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
Configuration menu - View commit details
-
Copy full SHA for 998a462 - Browse repository at this point
Copy the full SHA 998a462View commit details