Packing Up
No byte left behind: Pack your data for a perfect output stream!
PROBLEM STATEMENT:
Design a module that converts the input datapath with a partial data valid structure to a full datapath.
The input interface is 8 bytes of width. Any of these bytes can be valid or invalid as indicated by a byte valid input signal of 8 bits (1 bit per byte of datapath). The module needs to pack all of the valid data bytes together and output a clean stream of 8-byte data words that are all valid. The output interface will contain a 1-bit data valid indication.

Interface Definition
The module consists of two interfaces
The input interface:
Loading the interactive workspace...