Re: [casper] Help with Xilinx and Simulink

2016-08-17 Thread Heystek Grobler
Hi

I will check that I did everything of the compile tweeks in the casper
webpage. If it does not work I will provide screenshots of the errors.

Thanks for all the help

Heystek

On Wed, Aug 17, 2016 at 8:45 AM, Adam Isaacson  wrote:

> Hi Heystek,
>
> It appears that line 362 of gen_xps_files.m is commented out, so not sure
> what the error pertains to, but still worth checking the pcore compile
> tweaks.
>
> Kind Regards,
>
> Adam
>
> On Tue, Aug 16, 2016 at 11:48 PM, Adam Isaacson 
> wrote:
>
>> Hi Heystek,
>>
>> I am a bit confused where you are now. Are you still getting the
>> following error in red below or has this been resolved, but now you are
>> encountering another error (Error using gen_xps_files(362)) after you
>> applied the chmod command? Please send screen captures of the actual
>> errors, thanks.
>>
>> Details:
>> standard exception: XNetlistEngine:
>> Exception message could not be parsed:
>> com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first
>> pass text file at
>> /home/heystek/Desktop/tut1/sysgen/sysgen/masterScript423796839757439882
>> 5.pl
>> line 559'
>>
>> I had a brief look at line 362 of gen_xps_files.m and it is connected
>> with the pcores, so once again I have to ask whether you repeated the
>> compile tweaks after you installed ISE 14.7 (
>> https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_14
>> .x_and_Matlab_2012b)? Also, the tut1 Simulink model that I have been
>> working with is a slx file and not an mdl file? What tut 1 file are you
>> using?
>>
>> I am making the assumption that you are based near the Cape Town area? If
>> I am correct and if you are still experiencing difficulties why not bring
>> your machine and pop over? I think this may be the easiest solution :).
>> Just email me directly if you favour this option.
>>
>> Kind Regards,
>>
>> Adam
>>
>> On Tue, Aug 16, 2016 at 9:02 PM, Heystek Grobler <
>> heystekgrob...@gmail.com> wrote:
>>
>>> Hi James
>>>
>>> I tried the command and it accepted it. The matlab terminal gives the
>>> following error:
>>>
>>> Error using gen_xps_files(362)
>>>
>>> Does it make a diffirence if the simulink models are .mdl or .slx?
>>>
>>> Thank for your help
>>>
>>> Heystek
>>>
>>> On Tue, Aug 16, 2016 at 5:40 PM, James Smith  wrote:
>>>
 Hello Heystek,

 Just to get you an answer quickly, try the following command:

 chmod 777 -R /home/heystek/Desktop/tut1

 If that command makes an error message then add sudo.
 It's funny that you should have permissions issues there, if this
 doesn't fix things then there might be stranger issues at play.

 Regards,
 James


 On Tue, Aug 16, 2016 at 5:36 PM, Heystek Grobler <
 heystekgrob...@gmail.com> wrote:

> Hi James and Adam
>
> I got it working. The chmod +x startsg command did the trick. I
> started with the first casper tutorial, but when the system generator
> compiles it the tutorial breaks. It gives two errors.
>
> 1. Design Error  DefaultBlockDiagram  System Generator   Caught
> standard exception
> 2. Block ErrorAddSub   System Generator
>
> The following error log was also generated:
>
> - Version Log
> --
> Version Path
> System Generator/opt/Xilinx/14.7/ISE_DS/ISE/s
> ysgen
> Matlab 8.0.0.783 (R2012b)   /usr/local/MATLAB/R2012b
> ISE /opt/Xilinx/14.7/ISE_DS/ISE
> 
> 
> Summary of Errors:
> Error 0001: caught standard exception
>  Block: Unspecified
> 
> 
>
> Error 0001:
>
> Reported by:
>   Unspecified
>
> Details:
> standard exception: XNetlistEngine:
> Exception message could not be parsed:
> com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first
> pass text file at
> /home/heystek/Desktop/tut1/sysgen/sysgen/masterScript4237968
> 397574398825.pl
> line 559'
>
> 
> 
>
> Do you perhaps have an idea how I can fix it?
>
> Thanks for all the help.
>
> Have a wonderful day.
>
> Heystek
>
>
> On Tue, Aug 16, 2016 at 8:07 AM, James Smith  wrote:
>
>> Hello Heystek,
>>
>> This should be a relatively trivial problem to solve:
>>
>> cd ~ # This is a shortcut for your home directory
>> git clone > the SKA-SA one>
>> cd mlib-devel
>> ./startsg
>>
>> If that doesn't work, then do this:
>> chmod +x startsg
>>
>> Then you 

Re: [casper] Help with Xilinx and Simulink

2016-08-17 Thread Adam Isaacson
Hi Heystek,

It appears that line 362 of gen_xps_files.m is commented out, so not sure
what the error pertains to, but still worth checking the pcore compile
tweaks.

Kind Regards,

Adam

On Tue, Aug 16, 2016 at 11:48 PM, Adam Isaacson  wrote:

> Hi Heystek,
>
> I am a bit confused where you are now. Are you still getting the following
> error in red below or has this been resolved, but now you are encountering
> another error (Error using gen_xps_files(362)) after you applied the chmod
> command? Please send screen captures of the actual errors, thanks.
>
> Details:
> standard exception: XNetlistEngine:
> Exception message could not be parsed:
> com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first
> pass text file at
> /home/heystek/Desktop/tut1/sysgen/sysgen/masterScript423796839757439882
> 5.pl
> line 559'
>
> I had a brief look at line 362 of gen_xps_files.m and it is connected with
> the pcores, so once again I have to ask whether you repeated the compile
> tweaks after you installed ISE 14.7 (https://casper.berkeley.edu/w
> iki/MSSGE_Setup_with_Xilinx_14.x_and_Matlab_2012b)? Also, the tut1
> Simulink model that I have been working with is a slx file and not an mdl
> file? What tut 1 file are you using?
>
> I am making the assumption that you are based near the Cape Town area? If
> I am correct and if you are still experiencing difficulties why not bring
> your machine and pop over? I think this may be the easiest solution :).
> Just email me directly if you favour this option.
>
> Kind Regards,
>
> Adam
>
> On Tue, Aug 16, 2016 at 9:02 PM, Heystek Grobler  > wrote:
>
>> Hi James
>>
>> I tried the command and it accepted it. The matlab terminal gives the
>> following error:
>>
>> Error using gen_xps_files(362)
>>
>> Does it make a diffirence if the simulink models are .mdl or .slx?
>>
>> Thank for your help
>>
>> Heystek
>>
>> On Tue, Aug 16, 2016 at 5:40 PM, James Smith  wrote:
>>
>>> Hello Heystek,
>>>
>>> Just to get you an answer quickly, try the following command:
>>>
>>> chmod 777 -R /home/heystek/Desktop/tut1
>>>
>>> If that command makes an error message then add sudo.
>>> It's funny that you should have permissions issues there, if this
>>> doesn't fix things then there might be stranger issues at play.
>>>
>>> Regards,
>>> James
>>>
>>>
>>> On Tue, Aug 16, 2016 at 5:36 PM, Heystek Grobler <
>>> heystekgrob...@gmail.com> wrote:
>>>
 Hi James and Adam

 I got it working. The chmod +x startsg command did the trick. I started
 with the first casper tutorial, but when the system generator compiles it
 the tutorial breaks. It gives two errors.

 1. Design Error  DefaultBlockDiagram  System Generator   Caught
 standard exception
 2. Block ErrorAddSub   System Generator

 The following error log was also generated:

 - Version Log
 --
 Version Path
 System Generator/opt/Xilinx/14.7/ISE_DS/ISE/s
 ysgen
 Matlab 8.0.0.783 (R2012b)   /usr/local/MATLAB/R2012b
 ISE /opt/Xilinx/14.7/ISE_DS/ISE
 
 
 Summary of Errors:
 Error 0001: caught standard exception
  Block: Unspecified
 
 

 Error 0001:

 Reported by:
   Unspecified

 Details:
 standard exception: XNetlistEngine:
 Exception message could not be parsed:
 com.xilinx.sysgen.netlist.NetlistInternal: couldn't open first
 pass text file at
 /home/heystek/Desktop/tut1/sysgen/sysgen/masterScript423796839757439882
 5.pl
 line 559'

 
 

 Do you perhaps have an idea how I can fix it?

 Thanks for all the help.

 Have a wonderful day.

 Heystek


 On Tue, Aug 16, 2016 at 8:07 AM, James Smith  wrote:

> Hello Heystek,
>
> This should be a relatively trivial problem to solve:
>
> cd ~ # This is a shortcut for your home directory
> git clone  SKA-SA one>
> cd mlib-devel
> ./startsg
>
> If that doesn't work, then do this:
> chmod +x startsg
>
> Then you should be fine.
>
> Regards,
> James
>
>
> On Mon, Aug 15, 2016 at 7:46 PM, Heystek Grobler <
> heystekgrob...@gmail.com> wrote:
>
>> Hi Adam and James
>>
>> I am working on my personal computer. I will ask a IT guy to help me
>> with the privileges and also clone the mlib-devel into the home
>> directory and try to run it again.
>>
>> Thanks for all your help.