Input Sample rate of HDL LTE Cell Search module
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Tuan Hoang Dinh
il 27 Gen 2021
Commentato: Tuan Hoang Dinh
il 10 Feb 2021
Hi,
When simulating the VHDL code generated by Matlab on Vivado, I see that every sample at the input takes 2 cycles of clock like the image below.
The document said that the input sample rate is 30.72 Msps, I understand that 30.72 Msps is the sample rate of ADC and different with clock rate, it makes me a little bit confused about why the sample takes 2 cycles clock here because in the actual case, it takes only 1 cycle clock?
Could you help me with my problem?
Thank you so much!
0 Commenti
Risposta accettata
Garrey Rice
il 9 Feb 2021
The HDL code generated by the LTE HDL Cell Search model requires a clock rate of at least twice the input sampling rate. Therefore if the input sampling rate is 30.72 MHz (as modeled in Simulink) then a clock rate of at least 61.44 MHz is required. There are Upsample blocks in the ltehdlCellSearch/Cell Search HDL/Downlink Sync Demod (ltehdlDownlinkSyncDemod) subsystem which raise the sampling rate from 30.72MHz to 61.44MHz. HDL Coder recognises that this is the highest rate in the design and designates it as the clock rate. This is reflected in the HDL testbench and explains why the data being passed into the design only changes every two clock cycles.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su HDL Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!