Hi all The casper_library.mdl file seems to be misaligned relative to the scripts. The scripts are trying to set mask parameters that don't exist and are failing. I may be wrong but the casper git repository seems to be broken at the moment.
Use the following to get a version that should work better until it gets fixed at Berkeley; git clone git://casper.berkeley.edu/mlib_devel/kat.git Regards Andrew On 1 September 2010 16:39, melvyn wright <[email protected]> wrote: > Hi Andrea, Dave, Dan, Mark,... > > > This is a nicely detailed description of an FFT implementation problem and > possible solutions. It would be really nice to make these emails > part of the implementation documentation for users. > > Thanks for your help, Dave, Mark, Dan.. > > Mel. > > > On 9/1/10, Andrea Mattana <[email protected]> wrote: > > Here what I got calling the fft_biplex_real_2x from the command window: > > > >>> fft_biplex_real_2x_init(gcb,... > > 'FFTSize', 5, ... > > 'input_bit_width', 18, ... > > 'coeff_bit_width', 18, ... > > 'quantization', 'Truncate', ... > > 'overflow', 'Wrap', ... > > 'add_latency', 1, ... > > 'mult_latency', 2, ... > > 'bram_latency', 2, ... > > 'arch', 'Virtex5', ... > > 'opt_target', 'Multipliers', ... > > 'coeffs_bit_limit', 7, ... > > 'delays_bit_limit', 8, ... > > 'specify_mult', 0, ... > > 'mult_spec', 0) > > ??? Error using ==> reuse_block at 42 > > biplex_core block (mask) does not have a parameter named 'conv_latency'. > > > > Error in ==> fft_biplex_real_2x_init at 105 > > reuse_block(blk, 'biplex_core', 'casper_library/FFTs/biplex_core', ... > > > > The 'biplex_core' block seems to have the same behaviour or, better, > > fft_biplex_real_2x inherits troubles from it, but I don't know if it is > > the root of the problem... > > > > Cheers, > > Andrea > > > > > >> Hi all and many thaks for your help. > >> > >> @ Mark: > >> > >> I have completely started a new project since the migration on GIT. > >> > >> @ David: > >> > >> I have checked the matlab pth and it is correct, if I try to call: > >> > >>>> which fft_biplex_real_2x_init > >> > >> here what I got: > >> > >> > /usr/local/hdl/casper/mlib_devel/casper_library/fft_biplex_real_2x_init.m > >> > >> seems to be ok. > >> > >> @ Dan: > >> > >> yes I would say that is a good idea to contact them. > >> > >> > >> Anyway the problem is still not solved. Even if I simply add the block > to > >> a new model, looking under mask, there are no connection at all between > >> each sub-blocks, and changing parameters does not have effects. Does > >> anybody using those Simulink Casper Blocks whit mlib_devel_10_1 release? > I > >> got the same behaviour with the block 'fft', while other Casper blocks > >> (which find many other applications on several projects) work nominally. > >> Do you think could be related to the platform I use (64bit rather than a > >> 32bit)? > >> > >> Cheers, > >> Andrea > >> > >>> Hi Andrea, > >>> > >>> The first thing I would do is delete the fft and replace it with one > >>> from > >>> your updated library, using the same parameters of course. If you're > >>> still > >>> having the problem, I would try running the mask script from the matlab > >>> command prompt to get a more verbose output. To see how the mask > script > >>> is > >>> called, right click on the block and select 'view mask,' then select > the > >>> 'initialization' tab. > >>> > >>> Mark > >>> > >>> > >>> On Mon, Aug 30, 2010 at 4:19 AM, Andrea Mattana > >>> <[email protected]>wrote: > >>> > >>>> Hi All, > >>>> > >>>> I'm a Medicina Radiotelescopes (Italy) team member, my name is Andrea > >>>> Mattana, I'm working here since January to develop a new acquisition > >>>> system for SETI based on the CASPER ROACH board. > >>>> > >>>> I have started to work using the libraries available on the SVN > >>>> repository and in June I have done the migration on GIT following your > >>>> instractions and now I'm very up-to-date. > >>>> > >>>> I have some problems in using the CASPER FFT libraries, the drawings > >>>> seems to do not update after changing parameters. When I try to look > >>>> under mask (i.e. on fft_biplex_real_2x) there are no connections at > all > >>>> between blocks, while many other casper blocks works nominally. I have > >>>> seen on the GIT commit log an update done by David MacMahon on those > >>>> blocks, I don't know if he is the right person that can help me anyway > >>>> I'm very happy to hear any suggestion to fix the problem from you all. > >>>> > >>>> The developing system I use it is a Linux Centos release 5.5 64 bit, > >>>> Matlab R2009b, Xilinx 11.4. > >>>> > >>>> Kind regards, > >>>> > >>>> Andrea Mattana > >>>> > >>>> > >>>> ----------------------------------------------------------- > >>>> > >>>> Andrea Mattana > >>>> > >>>> Istituto Nazionale di Astrofisica > >>>> Istituto di RadioAstronomia > >>>> > >>>> Stazione di Medicina > >>>> Via Fiorentina 3508/B > >>>> I-40059 Medicina (BO) > >>>> Tel +39-051-6965834 > >>>> Fax +39-051-6965810 > >>>> > >>>> > >>>> > >>> > >> > >> > >> ----------------------------------------------------------- > >> > >> Andrea Mattana > >> > >> Istituto Nazionale di Astrofisica > >> Istituto di RadioAstronomia > >> > >> Stazione di Medicina > >> Via Fiorentina 3508/B > >> I-40059 Medicina (BO) > >> Tel +39-051-6965834 > >> Fax +39-051-6965810 > >> > >> > > > > > > ----------------------------------------------------------- > > > > Andrea Mattana > > > > Istituto Nazionale di Astrofisica > > Istituto di RadioAstronomia > > > > Stazione di Medicina > > Via Fiorentina 3508/B > > I-40059 Medicina (BO) > > Tel +39-051-6965834 > > Fax +39-051-6965810 > > > > > > > >

