Hi,

I comment that all that try/catch and switch/case, and replacing it with
just

% try
     %   xsg = strtok(xsg{1},' ');
   % catch
      % xsg = get_xlVersion('full');
  %  end

    % switch xsg
        % case {'8.2.02'}
           % set(handles.xsg_version,'String','8.2');
        %case {'9.1.01'}
       %     set(handles.xsg_version,'String','9.1');
      %  case {'10.1.1.1182'}
       %     set(handles.xsg_version,'String','10.1');
      %  case {'10.1.2.1250'}
       %     set(handles.xsg_version,'String','10.1');
       % case {'10.1.3.1386'}
        %    set(handles.xsg_version,'String','10.1');
       % case {'11.3.2055'}
        %    set(handles.xsg_version,'String','11.3');
       % case {'11.4.2254'}
        %    set(handles.xsg_version,'String','11.4');
       % case {'12.1'}
           set(handles.xsg_version,'String','12.1');
        %otherwise
         %   errordlg(['Unsupported Xilinx System Generator version:
',xsg]);
          %  return;
   %end

but when I try to compile any design with bee_xps. I got the following error;


>> bee_xps
Detected Linux OS
#############################
##      System Update      ##
#############################

ans =

Error using ==> xlCheckDevice at 9
Failed cast to Dictionary


ans =

Error using ==> xlCheckDevice at 9
Failed cast to Dictionary


ans =

Error using ==> xlCheckDevice at 9
Failed cast to Dictionary


ans =

Error using ==> xlCheckDevice at 9
Failed cast to Dictionary

Error using ==> gen_xps_files at 199
Error due to multiple causes.

cheers

katty


2012/10/9 katherine viviana cortes urbina <[email protected]>

> I achieved compile any design with bee_xps, but  I got the following
> error;
>
>
> >> bee_xps
> ??? Reference to non-existent element of a cell array.
>
> Error in ==> get_xlVersion at 24
>         argout = [xsgVer, '.', toks{1}{1}];
>
> Error in ==> bee_xps at 53
>         xsg = get_xlVersion('full');
>
> Detected Linux OS
> #############################
> ##      System Update      ##
> #############################
>
> ans =
>
> Error using ==> xlCheckDevice at 9
> Failed cast to Dictionary
>
>
> ans =
>
> Error using ==> xlCheckDevice at 9
> Failed cast to Dictionary
>
> Warning: did not properly cleanup after previous model termination
> ans =
>
> Error using ==> xlCheckDevice at 9
> Failed cast to Dictionary
>
> Error using ==> gen_xps_files at 199
> Error reported by S-function 'sysgen' in 'led1/gpio/convert':
> An internal error occurred in the Xilinx Blockset Library.
>
> Please report this error to Xilinx (http://support.xilinx.com), in as
> much detail as possible. You may also find immediate help in the Answers
> Database and other online resources at http://support.xilinx.com.
>
> Since it is possible that this internal error resulted from an unhandled
> usage error in your design, we advise you to carefully check the usage of
> the block reporting the internal error. If errors persist, we recommend
> that you restart MATLAB.
>
> -----------------------------------------------------------------------------------------------------------------------------------------------
> This is the file compile error is:
>
>
> --------------------------------- Version Log
> ----------------------------------
> Version                                 Path
> System Generator 12.1                   /opt/Xilinx/12.1/ISE_DS/ISE/sysgen
> Matlab 7.9.0.529 (R2009b)               /usr/local/matlab
> ISE                                     /opt/Xilinx/12.1/ISE_DS/ISE
>
> --------------------------------------------------------------------------------
> Summary of Errors:
> Error 0001: All Xilinx Blocks must be contained in a level of hierarc...
>      Block: Unspecified
>
> --------------------------------------------------------------------------------
>
> Error 0001:
>
> Reported by:
>   Unspecified
>
> Details:
> All Xilinx Blocks must be contained in a level of hierarchy with a
> System Generator Token
>
> --------------------------------------------------------------------------------
>
> Cheers
>
> katty
>
>
> 2012/10/9 Wesley New <[email protected]>
>
>>
>>
>> ---------- Forwarded message ----------
>> From: Wesley New <[email protected]>
>> Date: Tue, Oct 9, 2012 at 4:38 PM
>> Subject: Re: [casper] Error Xilinx ---> Counter .
>> To: "Rurik A. Primiani" <[email protected]>
>> Cc: katherine viviana cortes urbina <[email protected]>,
>> [email protected]
>>
>>
>> Change:  case {'12.1.'}
>> To:         case {'12.1'}
>>
>> No period after the 1 :)
>>
>> Wes
>>
>> On Tue, Oct 9, 2012 at 4:22 PM, Rurik A. Primiani <
>> [email protected]> wrote:
>>
>>> Hi Katherine,
>>>
>>> In your email you say you installed Matlab R2009b and Xilinx 13.1. These
>>> versions are not compatible according to Xilinx:
>>> http://www.xilinx.com/support/**answers/17966.htm<http://www.xilinx.com/support/answers/17966.htm>.
>>> You should either downgrade to Xilinx 11.5 or upgrade to Matlab R2010b.
>>>
>>> Best,
>>> Rurik
>>>
>>>
>>> On 10/9/12 8:57 AM, katherine viviana cortes urbina wrote:
>>>
>>>> Dear Casper,
>>>>
>>>>   I have intaling Centos 5.8/matlab R2009b/ISE 13.1,  I have create a
>>>> design for example tut1  (one the most simple) but when I try to compile
>>>> any design with bee_xps. I got the following error;
>>>>
>>>>  >> bee_xps
>>>> ??? Reference to non-existent element of a cell array.
>>>>
>>>> Error in ==> get_xlVersion at 24
>>>>          argout = [xsgVer, '.', toks{1}{1}];
>>>>
>>>> Error in ==> bee_xps at 53
>>>>          xsg = get_xlVersion('full');
>>>>
>>>>
>>>> cheers
>>>>
>>>>
>>>> katty
>>>>
>>>>
>>>
>>
>>
>

Reply via email to