cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brent.aandd
Observer
Observer
183 Views
Registered: ‎02-15-2018

Cannot add multiple speed grade parts to compilation target

I want to add multiple parts for selection in a custom compilation target. This seems to be possible only when I am selecting a completely different device. If I add multiple speed grades or packages of the same device, it fails with "Reference to non-existent field 'temps'." in the matlab window when I try to select the Part in the token gui.

Example:

The following works when the device is different (placed in setup_sysgen_token callback

add_part( obj,'kintex7','xc7k70t','-1','fbv676','');
add_part( obj,'kintex7','xc7k160t','-1','fbg484','');
 
However, if you add a different speed grade of the same device, it fails:
add_part( obj,'kintex7','xc7k160t','-1','fbg484','');
add_part( obj,'kintex7','xc7k160t','-2','fbg484','');
 
Any thoughts? Can I get around this by creating multiple targets? It doesn't appear that this is possible within the same class.
 
Thanks!
0 Kudos
Reply
2 Replies
vkanchan
Xilinx Employee
Xilinx Employee
89 Views
Registered: ‎09-18-2018

Hi,

Does the api throw any error when speed grade of same device are added ? Can you share a example design/script that can help us reproduce this and check ?

Thanks

0 Kudos
Reply
ravidapu
Xilinx Employee
Xilinx Employee
55 Views
Registered: ‎12-14-2017

Hi,

The best way to set device in the sysgen tokes as below

blockList = find_system('bramtest', 'LookUnderMasks', 'all', ...
'Type', 'block', 'Tag', 'genX')
sysgenBlock = blockList{1};
sg_hdle = get_param(sysgenBlock, 'Handle');
current_sys = get_param(sysgenBlock, 'Parent');
xlSysgenGUI('startup', current_sys, sg_hdle);
fighdl = xlfindsysgenfig(sysgenBlock);
xlpartchoicechosen('kintex7','xc7k160t', '-1', 'fbg484', fighdl);

I hope it helps

Regards,

Raju A.

0 Kudos
Reply