These are a few Verilog correlators, which I set up with test file to use Lattice Semiconductor ISPLever tool
15-bit correlator
31-bit correlator