I am using MATLAB R2011a, am getting error in HDL workflow advisor Set target interface, FPGA pin specification.

4 次查看(过去 30 天)
I have selected Atlys Spartan 6 development board. In Set target interface, when i am specifying interface as "Specify FPGA Pin{'LSB,..'MSB} as pin numbers [1:32] for sfix32_EN22 port type, its showing failed FPGA Pin input: FPGA Pin input should be cell array with format {'LSB',..,'MSB'}. What exactly pin numbers should be specified in FPGA pin?

采纳的回答

Pooja
Pooja 2013-8-14
Hi Tim,
Thanks for your response. I tried specifying pin numbers as {'1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32'}
But its showing the same error.
Invalid FPGA Pin input should be a cell array with format {'LSB',..,'MSB'}
  2 个评论
Wang Chen
Wang Chen 2013-8-14
Hi Pooja, The "FPGA pin" box is used to specify FPGA pin location names, so HDL Coder can connect these FPGA pins to the port you specified. You have to find out the correct FPGA pin names by reading the Atlys board manual. For example, if you want to connect to LEDs, the pin names are {'U18', 'M14', 'N14', 'L14', 'M13', 'D4', 'P16', 'N12'}. The cell array format in your last post should be correct. You can try to specify the pin names on a port with less bitwidth to get started.
Pooja
Pooja 2013-8-21
Hi Wang,
Thanks for response.
If i have output of 16 bits, can I directly use VHDC connector pins to assign output, the VHDC pins as given in manual IO1-P TO IO20-P with pin numbers.

请先登录,再进行评论。

更多回答(1 个)

Tim McBrayer
Tim McBrayer 2013-8-14
You cannot use MATLAB numeric array syntax here; as the error message states, you have to specify each pin number as a string, combined together in a cell array:
{'1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32'}

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by