Hi Matt
Thanks for the debugging work.
I have fixed the bug you found and committed the fix to the ska-sa git
repo (https://github.com/ska-sa/mlib_devel.git) as commit 03f2922.
Please check out the latest stuff and if that fixes your problem I will
push to the main casper-astro repo.
Regards
Andrew
On Tue, 2012-08-21 at 11:45 -0700, Matt Strader wrote:
Hi Andrew,
I managed to fix my problem. Dragging in a new green fft block from
the simulink casper library to replace my old fft block didn't work.
The biplex_core inside this new block had the old mask parameters
including specify_mult. I replaced this biplex_core block with one
from the casper library and found that had the up to date init
parameters. My model now compiles.
Thanks,
Matt
On Sun, Aug 19, 2012 at 12:31 AM, Matt Strader
mstra...@physics.ucsb.edu wrote:
Hi Andrew,
I tried compiling and running the init scripts on the matlab command
line again, now with the trace output. I have the results below.
I've also attached my mdl file. I expect there are other old blocks
in it that need to be replaced, but I only replaced the PFB/fft blocks
since they gave me trouble first.
The only script I'm using is Startsg, which sets the environment
variables to look at the right libraries. I looked up the way to call
the init script by first dragging in a new fft block from the simulink
casper library. Then I right-click and select 'Look under mask' a
couple times until I find the biplex_core. I right click this block,
select 'Edit Mask', and select the initialization tab. When I do this
I see a specify_mult parameter in the list of init parameters for the
biplex_core.
I have commit e9ecb3f7fbe97039f16ec81949e2f282590e06e1 of the
casper-astro repository.
Thanks,
Matt
When compiling chan_550_packet.mdl with bee_xps:
#
## System Update ##
#
trace: entering fft_init
trace: entering fft_init
trace: entering fft_biplex_init
trace: entering fft_biplex_init
trace: entering biplex_core_init
trace: biplex_core_init post same_state
trace: entering fft_stage_n_init
trace: entering fft_stage_n_init
trace: entering fft_stage_n_init
trace: entering fft_stage_n_init
trace: entering biplex_core_init
trace: biplex_core_init post same_state
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
Running mask script for block: parallel_to_serial_converter
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
trace: entering munge_init
Error using gen_xps_files (line 199)
Error in 'chan_550_packet/PFB/fft1/fft_biplex0/biplex_core':
Initialization commands cannot be evaluated.
Now running init scripts from Matlab command line:
biplex_core_init(gcb,...
'FFTSize', 9,...
'input_bit_width', 18,...
'coeff_bit_width', 18,...
'add_latency', 2,...
'mult_latency', 2,...
'bram_latency', 3,...
'conv_latency', 2, ...
'quantization', 'Truncate',...
'overflow', 'Wrap',...
'arch', 'Virtex5', ...
'opt_target', 'logic', ...
'coeffs_bit_limit', 8, ...
'delays_bit_limit', 8, ...
'specify_mult', 'off', ...
'mult_spec', 0, ...
'hardcode_shifts', 'off', ...
'shift_schedule', 0, ...
'dsp48_adders', 'on' );
trace: entering biplex_core_init
trace: biplex_core_init post same_state
trace: entering biplex_core_init
trace: biplex_core_init post same_state
trace: entering biplex_core_init
trace: biplex_core_init