id: dtv_catv_frame_sync_enc_bb
label: Frame Sync Encoder

parameters:
-   id: constellation
    label: Constellation
    dtype: enum
    options: [CATV_MOD_64QAM, CATV_MOD_256QAM]
    option_labels: [64QAM, 256QAM]
    option_attributes:
        val: [dtv.CATV_MOD_64QAM, dtv.CATV_MOD_256QAM]
-   id: ctrlword
    label: Control Word
    dtype: int
    default: '6'

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import dtv
    make: dtv.catv_frame_sync_enc_bb(${constellation.val}, ${ctrlword})

file_format: 1