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

3 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Pooja
Pooja il 14 Ago 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 Commenti
Wang Chen
Wang Chen il 14 Ago 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 il 21 Ago 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.

Accedi per commentare.

Più risposte (1)

Tim McBrayer
Tim McBrayer il 14 Ago 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'}

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by