From 4c8cda27d86d400e60358f6ad342827bab9d3fdc Mon Sep 17 00:00:00 2001
From: Marcus D Leech
Date: Sun, 16 May 2010 08:16:39 -0700
Subject: grc: adds gr.and_const to block tree
---
grc/blocks/Makefile.am | 1 +
grc/blocks/block_tree.xml | 1 +
grc/blocks/gr_and_const_xx.xml | 48 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+)
create mode 100644 grc/blocks/gr_and_const_xx.xml
(limited to 'grc/blocks')
diff --git a/grc/blocks/Makefile.am b/grc/blocks/Makefile.am
index 4e3839d27..8e50225e7 100644
--- a/grc/blocks/Makefile.am
+++ b/grc/blocks/Makefile.am
@@ -71,6 +71,7 @@ dist_ourdata_DATA = \
gr_agc2_xx.xml \
gr_agc_xx.xml \
gr_and_xx.xml \
+ gr_and_const_xx.xml \
gr_argmax_xx.xml \
gr_binary_slicer_fb.xml \
gr_channel_model.xml \
diff --git a/grc/blocks/block_tree.xml b/grc/blocks/block_tree.xml
index 04568e19a..6597f5b83 100644
--- a/grc/blocks/block_tree.xml
+++ b/grc/blocks/block_tree.xml
@@ -58,6 +58,7 @@
gr_add_const_vxx
gr_multiply_const_vxx
+ gr_and_const_xx
gr_not_xx
gr_and_xx
diff --git a/grc/blocks/gr_and_const_xx.xml b/grc/blocks/gr_and_const_xx.xml
new file mode 100644
index 000000000..dc9649311
--- /dev/null
+++ b/grc/blocks/gr_and_const_xx.xml
@@ -0,0 +1,48 @@
+
+
+
+ And Const
+ gr_and_const_xx
+ from gnuradio import gr
+ gr.and_const_$(type.fcn)($const)
+ set_k($const)
+
+ IO Type
+ type
+ enum
+
+
+
+
+
+ Constant
+ const
+ 0
+ int
+
+
+ in
+ $type
+
+
+
--
cgit