diff options
Diffstat (limited to 'gr-blocks/grc/blocks_not_xx.block.yml')
-rw-r--r-- | gr-blocks/grc/blocks_not_xx.block.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_not_xx.block.yml b/gr-blocks/grc/blocks_not_xx.block.yml new file mode 100644 index 0000000000..63ec98a42a --- /dev/null +++ b/gr-blocks/grc/blocks_not_xx.block.yml @@ -0,0 +1,25 @@ +id: blocks_not_xx +label: Not + +parameters: +- id: type + label: IO Type + dtype: enum + options: [int, short, byte] + option_attributes: + fcn: [ii, ss, bb] + hide: part + +inputs: +- domain: stream + dtype: ${ type } + +outputs: +- domain: stream + dtype: ${ type } + +templates: + imports: from gnuradio import blocks + make: blocks.not_${type.fcn}() + +file_format: 1 |