Dear James, Jason, Adam, and Indrajit, Thank you for your helpful comments on the issue of endless compiling. The compilation has successfully finished after increasing Java Heap Memory of MATLAB. Many thanks.
Best regards, Shotaro ________________________________________ 差出人: Shotaro Eto 送信日時: 2016年7月15日 21:33 宛先: Adam Isaacson; [email protected] CC: Casper Lists 件名: RE: [casper] issue of endless compiling Dear Adam and Indrajit, Thank you for your comments. To: Adam > I assume you have performed the suggested "tweaks to be able to compile" as > you have compiled other tutorials - found in > https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_14.x_and_Matlab_2012b > ? > I would confirm that you have looked at "The syntax in the Xilinx Perl > scripts is not supported under the Ubuntu default >shell Dash. Change the > symbolic link sh -> dash to sh -> bash" and make sure you have done this. Yes, I have followed the instruction "tweaks to be able to compile". But just to make sure, I am following the instruction again before compiling the model. To: Indrajit >1) Please post the error which you are getting while compiling. I'm getting warnings while Error doesn't appear. For example, as shown in the following statement. Warning: Inconsistent sample times. Sample time (4) of signal driving input port 1 of 'ffx_adcx2/asiaa_adc5g/ffx_adcx2_asiaa_adc5g_user_data_q1' differs from the expected sample time (1) at this input port. > In gen_xps_files at 203 In casper_xps>run_Callback at 158 In casper_xps at 88 In @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject)) (omission) Warning: Possible deprecated use of set on a Java object with an HG Property 'UserData'. > In xlNGCPostGeneration at 60 In /opt/Xilinx/14.7/ISE_DS/ISE/sysgen/bin/lin64/xlruntargetfcn.p>xlruntargetfcn at 12 In /opt/Xilinx/14.7/ISE_DS/ISE/sysgen/bin/lin64/xlGenerateButton.p>xlGenerateButton at 478 In gen_xps_files at 323 In casper_xps>run_Callback at 158 In casper_xps at 88 In @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject)) >2) Increase JHM - MATLAB Preferences--> see bellow link . I will try this method. Thank you. Best regards, Shotaro ________________________________________ 差出人: Adam Isaacson <[email protected]> 送信日時: 2016年7月15日 19:23 宛先: Shotaro Eto CC: Jason Manley; Casper Lists 件名: Re: [casper] issue of endless compiling Hi Shotaro, I assume you have performed the suggested "tweaks to be able to compile" as you have compiled other tutorials - found in https://casper.berkeley.edu/wiki/MSSGE_Setup_with_Xilinx_14.x_and_Matlab_2012b ? I would confirm that you have looked at "The syntax in the Xilinx Perl scripts is not supported under the Ubuntu default shell Dash. Change the symbolic link sh -> dash to sh -> bash" and make sure you have done this. Kind Regards, Adam On Fri, Jul 15, 2016 at 12:09 PM, Shotaro Eto <[email protected]<mailto:[email protected]>> wrote: Dear Jason, Thank you for your useful comments. >I'm wondering if there isn't some problem with a character in the >model/subsystem name or somesuch? >Matlab/XSG is a little picky about things like this. 64-char limit, don't >start with capital letters etc The file name is "ffx_adcx2.slx", so the name seems not problem. But I will shorten the name and will check if a character is appropriate in each subsystem name. >if it's a big design, have you increased your java virtual memory space in >matlab? No, I haven't. OK, I will try it. I found a link regarding the memory space in matlab. http://jp.mathworks.com/help/matlab/matlab_prog/resolving-out-of-memory-errors.html?lang=en Is this what you mean ? >Which OS are you running? It is Ubuntu 12.04(precise) 64-bit, Linux 3.8.0-34-generic, GNOME 3.4.2. >You've checked that it's using the appropriate perl and dash/bash environment? Yes, I have. We are using perl 5, version 14, subversion 2 (v5.14.2) and bash version 3.2.48 as follows. It should be fine. > perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi > printenv |grep SH SHELL=/bin/bash > bash --version GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu) Thank you. Best regards, Shotaro -- 江藤 翔太郎 鹿児島大学 大学院 理工学研究科 物理・宇宙専攻 2年 [email protected]<mailto:[email protected]> ________________________________________ 差出人: Jason Manley <[email protected]<mailto:[email protected]>> 送信日時: 2016年7月15日 17:11 宛先: Shotaro Eto CC: James Smith; Casper Lists 件名: Re: [casper] issue of endless compiling This sounds like a thorny problem. I'm wondering if there isn't some problem with a character in the model/subsystem name or somesuch? Matlab/XSG is a little picky about things like this. 64-char limit, don't start with capital letters etc FWIW, if it's a big design, have you increased your java virtual memory space in matlab? I used to get weird errors before doing this, not all of which produced out-of-memory errors. Which OS are you running? You've checked that it's using the appropriate perl and dash/bash environment? Jason On 15 Jul 2016, at 9:29, 江藤 翔太郎 (鹿児島大学) <[email protected]<mailto:[email protected]>> wrote: > Dear James, > > Thank you for your prompt reply. > The specification of the computer we are using is as follows. > Computer: HP-Z600-WS > Memory: 23.5GB > CPU: Intel Xeon(R) CPU E5607 @ 2.27GHz × 4 > > If you need any other information, please advise me. > Thank you. > > Best regards, > Shotaro > > > > ________________________________________ > 差出人: James Smith <[email protected]<mailto:[email protected]>> > 送信日時: 2016年7月15日 15:12 > 宛先: 江藤 翔太郎 (鹿児島大学) > CC: [email protected]<mailto:[email protected]> > 件名: Re: [casper] issue of endless compiling > > Hello Shotaro, > > What are the specifications of the computer that you're using? > > Regards, > James > > > On Fri, Jul 15, 2016 at 8:07 AM, 江藤 翔太郎 (鹿児島大学) > <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> > wrote: > Dear Casperites, > > I am Shotaro, a graduate student at Kagoshima university, working on a new > spectrometer for Nobeyama 45m telescope using ROACH2 Rev2 boards and ASIAA > 5GSPS ADCs. > > We are using ISE 14.7, MATLAB 8.0.0.783(2012b) and Simulink 8.0 on ubuntu > 12.04, but we have just encountered a trouble of endless compiling. > It would not finish at all more than a week. We tried purging the memory and > rebooting the PC before compiling, but the problem was not solved. > I have checked where the issue occurs by ticking the compiling options of > CASPER_XPS one by one and I have found that it occurs at 'Xilinx System > Generator'. > This issue occurs only for some models while compiling can finish > successfully within a few hours for models in the tutorial. > Since system.ngc or system.par file is not generated in this case, we have no > idea what is wrong with a model. > > I would appreciate it if anybody advise me how to solve this problem. > Thank you. > > Best regards, > Shotaro > > -- Adam Isaacson DBE: FPGA Engineer SKA-SA 3rd Floor The Park Park Road Pinelands 7405 Tel: +27215067300 (W) Fax: +27215067375 (W) Cell: +27825639602

