Clear Filters
Clear Filters

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

8 views (last 30 days)
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?

Accepted Answer

Pooja
Pooja on 14 Aug 2013
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 Comments
Wang Chen
Wang Chen on 14 Aug 2013
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 on 21 Aug 2013
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.

Sign in to comment.

More Answers (1)

Tim McBrayer
Tim McBrayer on 14 Aug 2013
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'}

Products

Community Treasure Hunt

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

Start Hunting!