MATLAB DESIGN HDL CODER RELEASE NOTES Guia do Utilizador Página 177

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 176
System Generator for DSP User Guide www.xilinx.com 177
UG640 (v 12.2) July 23, 2010
Designing with Embedded Processors and Microcontrollers
There can be multiple instances of a System Generator pcore in an XPS project. Each of the
instances is associated with a device ID, which can be found in “xparameter.h”. Assume
that the instance of interest has a device ID of 0 based on the following information in
“xparameter.h”.
/* Definitions for driver SG_PLBIFACE */
#define XPAR_SG_PLBIFACE_NUM_INSTANCES 1
/* Definitions for peripheral SG_PLBIFACE_0 */
#define XPAR_SG_PLBIFACE_0_DEVICE_ID 0
Use the device ID of a System Generator pcore instance to select the corresponding item in
RGB2GRAY_PLBW_ConfigTable, which is then provided to xc_create to retrieve the
settings of the specific System Generator pcore instance.
The topic Integrating a Processor with Custom Logic contains more information on how
the hardware is wired up and other software issues.
Running the code will produce the following print out on a RS232 terminal.
Vista de página 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 409 410

Comentários a estes Manuais

Sem comentários