Hi Heystack, Can you tell us how the data flows into your FFT block? The FFT block is designed to receive the Fix18_17 data format. Even if you remove your pfb_fir_real block, the simulink design should compile and you should get a spectrum, not as perfect as using the pfb_fir_real block along with the FFT block. If you input Ufix16-bit data, make sure you use cast (convert block) to change your data format. I hope this helps. Thank you. Best Regards Bishnu Sharma Institute of Astronomy and Astrophysics Academia Sinica
On Tue, Jan 21, 2025 at 12:04 AM Heystek Grobler <heystekgrob...@gmail.com> wrote: > Hey Andrew. > > > > Thank you for your reply. > > > > The PFB and FFT size that I am using is 1024 channels. > > > > I can run the tutorials without any problems. > > > > I have removed the PBF_real bock and I get the following error: > > > > Simulink:Masking:Bad_Init_Commands: Error in > 'rfsoc_zsu111_narrowband_v5/fft_wideband_real1/fft_biplex_real_4x/bi_real_unscr_4x/hilbert0/add_even_real/a_debus': > Failed to evaluate mask initialization commands. > > > > It is weird because it is the same block as in the tutorials. The board I > am targeting is the RFSoC ZCU111 and the RFSoC 4x2. > > > > Am I mussing something stupid? > > > > Thank you for the help. > > > > Heystek > > > > --------------------------------------------------------- > Heystek Grobler > > 0832721009 > heystekgrob...@gmail.com > > > > *From: *Andrew Martens <and...@sarao.ac.za> > *Date: *Monday, 20 January 2025 at 16:19 > *To: *casper@lists.berkeley.edu <casper@lists.berkeley.edu> > *Cc: *heystekgrob...@gmail.com <heystekgrob...@gmail.com> > *Subject: *Re: [casper] Simulation stuck > > Hi Heystek > > What size PFB are you using? Large PFBs can take many minutes to > initialise. How long are you waiting before you give up? > > > Your error could come from a number of sources. You need to simplify > things in an effort to isolate the problem. > > > Some things to try: > > - Check that you have the correct version of toolflow, mlib_devel etc. > have you run any tutorials successfully with your setup? > - Simulate the PFB in a separate, very basic design starting with just the > FFT block and a very small number of channels. Keep an eye on the messages > emitted to look for errors and warnings that might give you clues... > > - If that works, simulate your design with just the FFT (again starting > with a small number of channels). Check that you can simulate, even if the > resulting data is rubbish. Again, look for clues in messages. > > - If that works, add the pfb_fir_real to your design but keep the number > of channels etc very small. > > > > Good luck and regards > > Andrew > > > > > > On Mon, Jan 20, 2025 at 1:47 PM Heystek Grobler <heystekgrob...@gmail.com> > wrote: > > > > Good day everyone. > > > > I hope that you are doing well. > > > > I have a weird situation where Simulink get stuck while initialising the > simulation. The design is a narrowband spectrometer. I played around with > Simulink, and the simulation won’t initialise as soon as I add a > pfb_fir_real block and a fft_wideband_real block. If I comment out the > blocks, then the simulation initialises and runs. > > > > Has anyone stumbled across something like this? > > > > Thank you for the help. > > > > Heystek > > --------------------------------------------------------- > Heystek Grobler > > 0832721009 > heystekgrob...@gmail.com > > -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/DU0P189MB249711A6177904F1B03636B3AAE72%40DU0P189MB2497.EURP189.PROD.OUTLOOK.COM > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/DU0P189MB249711A6177904F1B03636B3AAE72%40DU0P189MB2497.EURP189.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer> > . > > > > *Disclaimer* > > The information contained in this communication from the sender is > confidential. It is intended solely for use by the recipient and others > authorized to receive it. If you are not the recipient, you are hereby > notified that any disclosure, copying, distribution or taking action in > relation of the contents of this information is strictly prohibited and may > be unlawful. > > -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/DU0P189MB2497EBEE7024FAC057A017E6AAE72%40DU0P189MB2497.EURP189.PROD.OUTLOOK.COM > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/DU0P189MB2497EBEE7024FAC057A017E6AAE72%40DU0P189MB2497.EURP189.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CACqpYn7Ls-0RpoBkHBNtU1ZWZHk4RTW%3D%3Dg6j1%3DgqZbDDbi_jBA%40mail.gmail.com.