![Dini Group DN9002K10PCI Скачать руководство пользователя страница 86](http://html1.mh-extra.com/html/dini-group/dn9002k10pci/dn9002k10pci_user-manual_2505740086.webp)
H A R D W A R E
6.4
FPGA Configuration
The following procedure is used by software on the host computer to configure an FPGA over
USB. This procedure is followed by the USBController program and AETest_usb program on
the user CD.
1) USB Software gets a handle to a USB device with VID 0x1234 PID 0x1234.
2) USB host software sends vendor request VR_SETUP_CONFIG 0xB7 (see
Vendor Requests
)
with 1 byte in the data buffer representing which FPGA to configure. (A is 0x01, B is 0x02, C is
0x03…)
3) The configuration circuit on receiving this vendor request asserts the PROG signal of the
selected FPGA. This resets the FPGA and clears any configuration data it may already have.
This Vendor request also selects the FPGA, so that SelectMap bus activity only affects the
selected FPGA. Bulk transfers initiated after this command to endpoint 2 are interpreted as
SelectMap transfers, rather than Main Bus transfers. (See
Main Bus access
above). This will be so
until vendor request VR_SETUP_END (0xBD) is called.
4) USB host software sends a bulk write USB request to EP2. Each byte of data in the bulk
write is sent to the selected FPGA over the SelectMap bus, and the FPGA signal CCLK is
pulsed once for each byte of data sent. Note that the LSBit in the USB transaction is sent to the
LSBit in the SelectMap interface, so bit swapping as described in the Virtex 5 Configuration
Guide is not required. A standard .bit file from Xilinx bitgen can be transferred in binary over
this USB interface to correctly configure an FPGA on the DN9002K10PCI.. Make sure CCLK
is selected as the startup clock in the bitgen settings. This is the default setting.
5) After an FPGA configures, the DONE signal will go high, lighting the blue LED next to the
FPGA (labeled “DONE”).
6) The USB Controller sends a vendor request out VR_SETUP_END (0xBD). This request
deselects the FPGA, so that further bulk requests are interpreted as Main Bus transactions.
6.4.1
Readback
This section should be updated when Readback is enabled. If this sentence is here, it means this
section has not been verified yet. When the DINI.H API is made available, this section should
be removed completely.
Readback is performed in the same way that configuration, except that the direction of the bulk
transfer is BULK_READ instead of BULK_WRITE. The commands required by the
SelectMap interface to start a Readback must be sent using the configuration interface. For this
reason, it is the programmer’s responsibility to understand and implement the SelectMap
protocol.
DN9002K10PCI User Guide
www.dinigroup.com
76
Содержание DN9002K10PCI
Страница 1: ...LOGIC Emulation Source UserGuide DN9002K10PCI ...
Страница 3: ......
Страница 34: ......
Страница 46: ...C O N T R O L L E R S O F T W A R E DN9002K10PCI User Guide www dinigroup com 36 ...
Страница 150: ......