summaryrefslogtreecommitdiff
path: root/gr-fec/grc/fec_puncture_xx.block.yml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fec/grc/fec_puncture_xx.block.yml')
-rw-r--r--gr-fec/grc/fec_puncture_xx.block.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/gr-fec/grc/fec_puncture_xx.block.yml b/gr-fec/grc/fec_puncture_xx.block.yml
new file mode 100644
index 0000000000..de7cf16cab
--- /dev/null
+++ b/gr-fec/grc/fec_puncture_xx.block.yml
@@ -0,0 +1,35 @@
+id: fec_puncture_xx
+label: Puncture
+
+parameters:
+- id: type
+ label: Type
+ dtype: enum
+ options: [byte, float]
+ option_attributes:
+ fcn: [bb, ff]
+ hide: part
+- id: puncsize
+ label: Puncture Size
+ dtype: int
+- id: puncpat
+ label: Puncture Pattern
+ dtype: int
+- id: delay
+ label: Delay
+ dtype: int
+ default: '0'
+
+inputs:
+- domain: stream
+ dtype: ${ type }
+
+outputs:
+- domain: stream
+ dtype: ${ type }
+
+templates:
+ imports: from gnuradio import fec
+ make: fec.puncture_${type.fcn}(${puncsize}, ${puncpat}, ${delay})
+
+file_format: 1