Commit 96087c1a authored by Sakthivel Velumani's avatar Sakthivel Velumani

Pipe tx samples to file

should be reverted later on
parent ec837f9c
......@@ -783,6 +783,11 @@ void tx_rf(RU_t *ru,int frame,int slot, uint64_t timestamp) {
(long long unsigned int)timestamp,frame,proc->frame_tx_unwrap,slot, txs);
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_WRITE, 0 );
//AssertFatal(txs == 0,"trx write function error %d\n", txs);
if (slot == (fp->slots_per_frame-1)) {
FILE *tx_wr_p = fopen("tx_write.raw","wba");
fwrite(&ru->common.txdata[0][0],sizeof(short),fp->samples_per_frame*2,tx_wr_p);
fclose(tx_wr_p);
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment