Пример #1
0
 def setUp (self):
     self.tb = gr.top_block ()
     self.tp = drm.transm_params(1, 3, False, 0, False, 1, 0, 1, 1, 0, False, 24000, "station label", "text message")
     vlen_msc = self.tp.msc().N_MUX() * self.tp.ofdm().M_TF()
     vlen_sdc = self.tp.sdc().N()
     vlen_fac = self.tp.fac().N() * self.tp.ofdm().M_TF()
     self.cell_mapping = drm.cell_mapping_vcvc(self.tp, (vlen_msc, vlen_sdc, vlen_fac))
Пример #2
0
 def setUp (self):
     self.tb = gr.top_block ()
     self.tp = drm.transm_params(1, 3, False, 0, False, 1, 0, 1, 1, 0, False, 24000, "station label", "text message")
     self.src = drm.generate_sdc_b(self.tp)
     self.head = blocks.head(self.tp.sdc().L(), 1)
     self.snk = blocks.vector_sink_b(self.tp.sdc().L())
     self.tb.connect(self.src, self.head, self.snk)
Пример #3
0
 def setUp (self):
     self.tb = gr.top_block ()
     self.tp = drm.transm_params(1, 3, False, 0, 1, 0, 1, 1, 0, False, 24000, "station label", "text message")
     self.src = drm.generate_sdc_b(self.tp)
     self.head = blocks.head(1, self.tp.sdc().L())
     self.snk = blocks.vector_sink_b()
     self.tb.connect(self.src, self.head, self.snk)
Пример #4
0
 def setUp (self):
     self.tb = gr.top_block ()
     self.tp = drm.transm_params(1, 3, False, 0, 1, 0, 1, 1, 0, False, 24000, "station label", "this is a long sample text message!")
     self.audio_enc = drm.audio_encoder_sb(self.tp)
     self.src = blocks.null_source(4)
     self.head = blocks.head(4,  960*10*3)
     self.snk = blocks.vector_sink_b()
     
     self.tb.connect(self.src, self.head, self.audio_enc, self.snk)
Пример #5
0
 def setUp(self):
     self.tb = gr.top_block()
     self.tp = drm.transm_params(1, 3, False, 0, 1, 0, 1, 1, 0, False,
                                 24000, "station label", "text message")
     vlen_msc = self.tp.msc().N_MUX() * self.tp.ofdm().M_TF()
     vlen_sdc = self.tp.sdc().N()
     vlen_fac = self.tp.fac().N() * self.tp.ofdm().M_TF()
     self.cell_mapping = drm.cell_mapping_cc(self.tp,
                                             (vlen_msc, vlen_sdc, vlen_fac))
Пример #6
0
 def setUp(self):
     self.tb = gr.top_block()
     tp = drm.transm_params(1, 3, False, 0, 1, 0, 1, 1, 0, False, 24000,
                            "station label", "text message")
     self.tables = tp.cfg().ptables()
Пример #7
0
 def setUp (self):
     self.tb = gr.top_block ()
     tp = drm.transm_params(1, 3, False, 0, 1, 0, 1, 1, 0, False, 24000, "station label", "text message")
 	self.tables = tp.cfg().ptables()