02-16-2021 01:37 PM
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
02-25-2021 08:48 AM
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
02-25-2021 07:48 PM
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.