Lossy valid to stream #189
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This module helps to deal with sources that use a valid-only interface, that
is they do not support backpressure i.e. cannot handle the case where the
sink is not ready to accept a value. The module is implemented as FIFO with 2
elements. In contrast to a regular FIFO that stops accepting new transactions
once the FIFO is full, this IP overwrites the last element entered into the
FIFO. This means the input is always ready to accept new transactions,
however, intermediate transactions might be overwritten by the latest one. On
the output side, the module behaves like a regular ready-valid source i.e.
once valid is asserted, data_o remains stable until the sink consumes them
(by asserting ready_i).
The
lossy_valid_to_streammodule is helpful to connect configuration registers withIPs that could cause back pressure. In this case we might not care how long
it takes for the config value to be sent to the IP but if we change the
config value we want the latest value to be used regardless whether the
previous value has already been forwarded or not.