Hi Wang It may be that the version of the toolflow used to create that model, is not the same as what is on your machine. You may want to drag a new block in from your library, and then set the parameters to the same as the block in the model. There is also a script that will update the blocks in your model automatically - update_casper_blocks.m (I think).
Regards Andrew On Thu, Nov 10, 2022 at 8:41 AM Wang <[email protected]> wrote: > Hi Andrew, > > 在2022年11月10日星期四 UTC+8 14:09:34<andrew> 写道: > >> Hi Wang >> >> It looks like there is something going wrong during the creation of the >> internal logic in the FFT. >> >> Could you give us the following information >> 1. Which git repo and branch of mlib_devel are you using? >> > > I used mlib_devel-roach2, matlab2013b and ise14.7. > I'm sorry I can't remember where I got it. > It's probably GitHub - casper-astro/mlib_devel at roach2 > <https://github.com/casper-astro/mlib_devel/tree/roach2> . > > 2. What parameters did you change on the FFT? >> > > I'm directly copying someone else's FFT, so I didn't change the > parameters. > But the one I use is a model that refers to the FFT part of David's PAPER > correlator model. > roachfengine/fft_1024ch_core.mdl at master · david-macmahon/roachfengine · > GitHub > <https://github.com/david-macmahon/roachfengine/blob/master/fft_1024ch_core.mdl> > You can also get it from the attachment. > > 3. What are the first error messages you see in Matlab? >> > > The message is: > Simulink:Commands:ParamUnknown: biplex_core block (mask) does not have a > parameter named 'n_inputs' > Backtrace 1: reuse_block:138 > Backtrace 2: fft_biplex_real_2x_init:231 > Backtrace 3: openmdl:13 > Backtrace 4: open:159 > Backtrace 5: uiopen:167 > > I also encountered this error when I opened David's FFT file. > >> >> Regards >> Andrew >> >> On Thu, Nov 10, 2022 at 7:04 AM Wang <[email protected]> wrote: >> >>> Hi CASPER, >>> >>> I learned about fft_biplex_real_2x block first. >>> >>> https://casper.astro.berkeley.edu/w/index.php?title=Fft_biplex_real_2x&oldid=150 >>> <https://casper.astro.berkeley.edu/w/index.php?title=Fft_biplex_real_2x&oldid=15063> >>> However, there are some questions: >>> >>> 1. I can't view the internal logic of biplex_core and bi_real_unscr_2x >>> blocks. Every time I double-click to view them, Matlab will continuously >>> report errors and keep repeating the cycle. >>> >>> 2. fft_biplex_real_2x block I use in Pcore block link. However, >>> However, the internal ports of the fft block are not connected, such as the >>> output ports of even_bussify and odd_bussify, and the input ports of >>> even_pol_debus and odd_pol_debus. >>> >>> BW, >>> wang >>> >>> [image: fft_internal.jpg] >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "[email protected]" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/612086b3-cb85-4851-892c-ce9b0b15207an%40lists.berkeley.edu >>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/612086b3-cb85-4851-892c-ce9b0b15207an%40lists.berkeley.edu?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. >> >> This email has been scanned for viruses and malware, and may have been >> automatically archived by Mimecast, a leader in email security and cyber >> resilience. Mimecast integrates email defenses with brand protection, >> security awareness training, web security, compliance and other essential >> capabilities. Mimecast helps protect large and small organizations from >> malicious activity, human error and technology failure; and to lead the >> movement toward building a more resilient world. To find out more, visit >> our website. >> > Regards > Wang > 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. This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADEwHTfKGM%3DXoaDLMb1WWZN9GSFCQb4H22rK0hmRrMsDQDMZ1A%40mail.gmail.com.

