From 24962cd24c623c6822733fed4c911a4adabbdd57 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Mon, 18 Jun 2012 12:28:48 -0700 Subject: blocks: added div_XX and sub_XX blocks --- gr-blocks/grc/blocks_sub_xx.xml | 63 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 gr-blocks/grc/blocks_sub_xx.xml (limited to 'gr-blocks/grc/blocks_sub_xx.xml') diff --git a/gr-blocks/grc/blocks_sub_xx.xml b/gr-blocks/grc/blocks_sub_xx.xml new file mode 100644 index 000000000..ae01cf74a --- /dev/null +++ b/gr-blocks/grc/blocks_sub_xx.xml @@ -0,0 +1,63 @@ + + + + Subtract + blocks_sub_xx + from gnuradio import blocks + blocks.sub_$(type.fcn)($vlen) + + IO Type + type + enum + + + + + + + Vec Length + vlen + 1 + int + + + Num Inputs + num_inputs + 2 + int + + $vlen > 0 + $num_inputs >= 2 + + in + $type + $vlen + $num_inputs + + + out + $type + $vlen + + -- cgit