MIL_ID MilSystemId, | //in |
MIL_INT FpgaDeviceNumber, | //in |
MIL_CONST_TEXT_PTR FirmwareFile, | //in |
MIL_INT64 ControlFlag | //in |
This function loads new configuration data into a Processing FPGA on the target system. This function allows you to avoid rebooting the Host and then using the MILConfig utility to specify and MsysAlloc() to load a different FPGA configuration into a Processing FPGA. Loading a new FPGA configuration can take longer to complete than other commands. It is recommended that MfpgaLoad() not be called during a time-critical section of your application. You must wait for all processing to finish executing before loading the new configuration into the Processing FPGA, otherwise data corruption might occur.
Specifies the rank of the Processing FPGA into which to load the new FPGA configuration. This parameter must be set to the following value:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||
![]() ![]() |
Specifies the rank of the Processing FPGA on the board, where n can be a value between 0 and the total number of Processing FPGAs-1. |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa |
Specifies the name and path of the file from which to load the FPGA configuration.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description |
MIL system-specific tooltip (‡) |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||||||||||
![]() ![]() |
Specifies the drive, directory, and name of the file from which to load the FPGA configuration (for example, "C:\mydirectory\myfile"). Typically, FPGA configuration files have an MBF file extension. To retrieve the file on the remote computer (under Distributed MIL), prefix the specified file name string with "remote:///" (for example, "remote:///C:\mydirectory\myfile"). (summarize)Specifies the drive, directory, and name of the file from which to load the FPGA configuration (for example, "C:\mydirectory\myfile"). (more details...) |
‡ | j | k M10 |
l | m | p | r U27 |
y U75 |
aa |
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
Header | Include mil.h; milfpga.h. |
Library | Use mil.lib; milfpga.lib. |
DLL | Requires mil.dll; milfpga.dll. |