id: digital_simple_correlator
label: Simple Correlator
flags: [ python, cpp ]

parameters:
-   id: payload_bytesize
    label: Payload Byte Size
    dtype: int

inputs:
-   domain: stream
    dtype: float

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import digital
    make: digital.simple_correlator(${payload_bytesize})

cpp_templates:
    includes: ['#include <gnuradio/digital/simple_correlator.h>']
    declarations: 'digital::simple_correlator::sptr ${id};'
    make: 'this->${id} = digital::simple_correlator::make(${payload_bytesize});'
    link: ['gnuradio-digital']

file_format: 1
