strx: Add code template for correlator.

TBC whether we are going to use a basic block with bytestream output
or a sync sink.