Use the merge join the ascend tables as an example:
Every clock cycle, compare the keys from the left and right tables:
- If the keys are not the same, pull the stream with a smaller key and no output.
- If the keys are the same, pull the right stream and push the keys and payloads to the output stream.