diff options
Diffstat (limited to 'gr-trellis/python/qa_trellis.py')
-rwxr-xr-x | gr-trellis/python/qa_trellis.py | 4 |
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)) |