diff options
Diffstat (limited to 'gr-trellis/python/qa_trellis.py')
-rwxr-xr-x | gr-trellis/python/qa_trellis.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-trellis/python/qa_trellis.py b/gr-trellis/python/qa_trellis.py index 983a749af6..b0a2f8a745 100755 --- a/gr-trellis/python/qa_trellis.py +++ b/gr-trellis/python/qa_trellis.py @@ -106,9 +106,9 @@ 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 = gr.head (gr.sizeof_short, packet_size/16) + src_head = blocks.head(gr.sizeof_short, packet_size/16) # unpack shorts to symbols compatible with the FSM input cardinality s2fsmi = blocks.packed_to_unpacked_ss(bitspersymbol, gr.GR_MSB_FIRST) # initial FSM state = 0 @@ -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)) |