summaryrefslogtreecommitdiff
path: root/gr-trellis/python/qa_trellis.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-18 13:13:48 -0400
committerTom Rondeau <trondeau@vt.edu>2013-03-18 13:13:48 -0400
commit0183e3ed10c551fefdbb0ed095d896cf01699a54 (patch)
tree788ff905a1299f948ed6908d7076a7caad17c5f1 /gr-trellis/python/qa_trellis.py
parentd26514b07a5d15206687b636a2a0c51ad10684c1 (diff)
blocks: removing lfsr and friends from core; now in gr-blocks.
Diffstat (limited to 'gr-trellis/python/qa_trellis.py')
-rwxr-xr-xgr-trellis/python/qa_trellis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/python/qa_trellis.py b/gr-trellis/python/qa_trellis.py
index 07097f906c..b0a2f8a745 100755
--- a/gr-trellis/python/qa_trellis.py
+++ b/gr-trellis/python/qa_trellis.py
@@ -106,7 +106,7 @@ class trellis_tb(gr.top_block):
K = packet_size/bitspersymbol
# TX
- src = gr.lfsr_32k_source_s()
+ src = blocks.lfsr_32k_source_s()
# packet size in shorts
src_head = blocks.head(gr.sizeof_short, packet_size/16)
# unpack shorts to symbols compatible with the FSM input cardinality
@@ -127,7 +127,7 @@ class trellis_tb(gr.top_block):
# pack FSM input symbols to shorts
fsmi2s = blocks.unpacked_to_packed_ss(bitspersymbol, gr.GR_MSB_FIRST)
# check the output
- self.dst = gr.check_lfsr_32k_s()
+ self.dst = blocks.check_lfsr_32k_s()
self.connect (src, src_head, s2fsmi, enc, mod)
self.connect (mod, (add, 0))