Hi, Vijay,

Since your HDL is not combinatorial you should comment out this line in your 
config.m file:

>   % System Generator has to assume that your entity  has a combinational feed 
> through; 
>   %   if it  doesn't, then comment out the following line:
>   this_block.tagAsCombinational;

I'm not sure this will fix your problem, but there's no other obvious problems 
that i can see.

HTH,
Dave

> On Apr 2, 2018, at 13:12, Vijay Kumar <[email protected]> wrote:
> 
> Hi Dave,
> 
> I referred to the black box guide, so I have a single clock and a clock 
> enable. 
> And the config file was generated from the wizard. 
> I am attaching herewith my model which is a simple one to generate a sinusoid 
> signal.
> 
> I would be much grateful if you could please have look at this. 
> 
> Thanks,
> Vijay.
> 
> 
> 
> 
> On Sun, Apr 1, 2018 at 4:36 PM, David MacMahon <[email protected] 
> <mailto:[email protected]>> wrote:
> I'm not sure what's causing your problem, but here are some other ideas...  
> Did you use the Black Box Wizard to create a "...config.m" file for your HDL 
> or did you hand code it?  Does your top level HDL have a single clock input 
> and a clock enable input?  Does your config.m file list all the HDL files 
> needed to build your HDL?  You could check the system generator synthesis 
> report to ensure that it is synthesizing your HDL as you would expect.
> 
> Dave
> 
> 
>> On Apr 1, 2018, at 13:14, Vijay Kumar <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi David,
>> 
>> Yes, the normal designs that don't have black boxes compile without any 
>> problem. I am not sure why this "Possible deprecated  ..." warning is given. 
>> I have seen it in few emails for other Casperites, so I thought it was 
>> normal. 
>> 
>> The OS is: Red Hat  (release 6.7)
>> 
>> Thanks for your help on this.
>> 
>> Regards,
>> Vijay.
>> 
>> On Sun, Apr 1, 2018 at 3:34 PM, David MacMahon <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi, Vijay,
>> 
>> Are you able to compile a simple model without using the back box block?  
>> The "Possible deprecated use of get on a Java object with an HG Property 
>> 'UserData'" waning seems like a simulink and/or system generator issue.  And 
>> the segmentation fault when running xps is not a good sign at all.  What OS 
>> are you using?
>> 
>> Dave
>> 
>> 
>>> On Apr 1, 2018, at 10:58, Vijay Kumar <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Hi Jack,
>>> 
>>> Thanks a lot for your reply. 
>>> 
>>> I am trying to incorporate a verilog design with the Casper design. It's a 
>>> simple test design and works in simulation. So probably no HDL syntax 
>>> issues. 
>>> The setup I am using is Xilinx 14.4 based one with Matlab 2012b and 
>>> unfortunately, I don't have the 14.7 setup.  Do you think its an issue with 
>>> the tool setup? 
>>> 
>>> Please see the below outputs for the mlib_devel version.
>>> 
>>> $ git rev-parse HEAD
>>> a949c9d5c1761078b4c884699ff52c1497a17ff6
>>> 
>>> git describe --tags
>>> mlib_devel-2010-09-20-1369-ga949c9d
>>> 
>>> 
>>> Thanks again for your help.
>>> 
>>> Vijay.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Sun, Apr 1, 2018 at 9:34 AM, Jack Hickish <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> Hi Vijay,
>>> 
>>> Are you trying to black box a system generator model, or plain 
>>> verilog/vhdl? In the latter case, any error in the HDL syntax or issues 
>>> with port declarations will probably cause the tools to implode like you 
>>> see.
>>> 
>>> Do you still get this error with the latest (14.7) of the xilinx tools, and 
>>> an appropriate version of Matlab (2013b would be ideal)?
>>> 
>>> What version of mlib_devel are you using?
>>> 
>>> Cheers
>>> Jack
>>> 
>>> On Sun, Apr 1, 2018, 6:24 AM Vijay Kumar <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> Dear Casperites,
>>> 
>>> I am trying to run a simple model with a black box to see if I can get an 
>>> RTL to work with a Simulink model in the Casper flow. 
>>> 
>>> I am getting the following error at the very beginning of compilation. 
>>> Please see the following output. Appreciate your help to resolve this.
>>> 
>>> Thanks a lot.
>>> 
>>> Detected Linux OS
>>> #############################
>>> ##      System Update      ##
>>> #############################
>>> #############################
>>> ## Block objects creation  ##
>>> #############################
>>> ######################
>>> ## Checking objects ##
>>> ######################
>>> Running system generator ...
>>> Warning: Possible deprecated use of get on a Java object with an HG 
>>> Property 'UserData'. 
>>> > In xlNGCPostGeneration at 57
>>>   In 
>>> /opt/Xilinx/14.4/ISE_DS/ISE/sysgen/bin/lin64/xlruntargetfcn.p>xlruntargetfcn
>>>  at 12
>>>   In 
>>> /opt/Xilinx/14.4/ISE_DS/ISE/sysgen/bin/lin64/xlGenerateButton.p>xlGenerateButton
>>>  at 478
>>>   In gen_xps_files at 323
>>>   In casper_xps>run_Callback at 155
>>>   In casper_xps at 88
>>>   In 
>>> @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject))
>>>  
>>> Warning: Possible deprecated use of set on a Java object with an HG 
>>> Property 'UserData'. 
>>> > In xlNGCPostGeneration at 60
>>>   In 
>>> /opt/Xilinx/14.4/ISE_DS/ISE/sysgen/bin/lin64/xlruntargetfcn.p>xlruntargetfcn
>>>  at 12
>>>   In 
>>> /opt/Xilinx/14.4/ISE_DS/ISE/sysgen/bin/lin64/xlGenerateButton.p>xlGenerateButton
>>>  at 478
>>>   In gen_xps_files at 323
>>>   In casper_xps>run_Callback at 155
>>>   In casper_xps at 88
>>>   In 
>>> @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject))
>>>  
>>> XSG generation complete.
>>> XSG generation complete.
>>> #########################
>>> ## Copying base system ##
>>> #########################
>>> Copying base package from:
>>>  /opt/mlib_devel/xps_base/XPS_ROACH2_base
>>> ########################
>>> ## Copying custom IPs ##
>>> ########################
>>> ##########################
>>> ## Creating Simulink IP ##
>>> ##########################
>>> ##########################
>>> ## Creating EDK files   ##
>>> ##########################
>>> Running off sys_clk @100MHz
>>> Running off sys_clk @100MHz
>>> Running off sys_clk @100MHz
>>> #########################
>>> ## Elaborating objects ##
>>> #########################
>>> ##############################
>>> ## Preparing software files ##
>>> ##############################
>>> #########################
>>> ## Running EDK backend ##
>>> #########################
>>> Warning: File 
>>> '/home/vijay/work/testing/blackboxcheck/testing1/XPS_ROACH2_base/implementation/system.bit'
>>>  not found. 
>>> > In gen_xps_files at 664
>>>   In casper_xps>run_Callback at 155
>>>   In casper_xps at 88
>>>   In 
>>> @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject))
>>>  
>>> Warning: File 
>>> '/home/vijay/work/testing/blackboxcheck/testing1/XPS_ROACH2_base/implementation/download.bit'
>>>  not found. 
>>> > In gen_xps_files at 665
>>>   In casper_xps>run_Callback at 155
>>>   In casper_xps at 88
>>>   In 
>>> @(hObject,eventdata)casper_xps('run_Callback',hObject,eventdata,guidata(hObject))
>>>  
>>> xps -nw -scr run_xps.tcl system.xmp: Segmentation fault
>>> Error using gen_xps_files (line 685)
>>> XPS failed.
>>> 
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "[email protected] <mailto:[email protected]>" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected] 
>>> <mailto:[email protected]>.
>>> To post to this group, send email to [email protected] 
>>> <mailto:[email protected]>.
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "[email protected] <mailto:[email protected]>" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected] 
>>> <mailto:[email protected]>.
>>> To post to this group, send email to [email protected] 
>>> <mailto:[email protected]>.
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "[email protected] <mailto:[email protected]>" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected] 
>>> <mailto:[email protected]>.
>>> To post to this group, send email to [email protected] 
>>> <mailto:[email protected]>.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "[email protected] <mailto:[email protected]>" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "[email protected] <mailto:[email protected]>" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "[email protected] <mailto:[email protected]>" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> 
> <sinelut_config.m><sinelut.v><testing1.slx>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to