FPGA configuration method, FPGA configuration system and processor
A configuration method and processor technology, applied in the field of communication, can solve the problems of slow synchronization clock rate, low configuration data rate, and restricting the rapid startup of the system.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] by the above figure 2 It can be seen that in the prior art configuration timing of FPGA configuration, the timing of the synchronous clock signal and data is very close to the SPI bus timing generally used in serial communication, the only difference is that when the FPGA is configured, a series of bit streams are transmitted, and the transmitted The amount of data is relatively large, and the synchronous clock of the SPI bus is directly obtained by frequency division of the main frequency. Therefore, in order to solve the problem that the synchronous clock rate simulated by the processor is relatively slow and the rate of transmitting configuration data is low in the prior art, this Embodiment 1 of the invention proposes that SPI bus pins can be used to transmit synchronous clock signals and configuration data, thereby effectively increasing the transmission rate of configuration data and reducing the time-consuming configuration of FPGA.
[0025] In Embodiment 1 of t...
Embodiment 2
[0058] If the operating system running on the processor does not manage the SPI bus, such as the ucosⅡ system, the software directly controls the SPI bus pins to send data. At this time, the process of configuring the FPGA is as follows: Figure 6 As shown, the specific processing flow is as follows:
[0059] Step 61, if it is confirmed that the FPGA is configured in slave-serial mode, the processor will pull down the level of the PROGRAM_B pin from high level to low level, and after keeping the low level for a preset period of time (for example, 10μs), Pull up from low level to high level to notify FPGA to perform configuration initialization;
[0060] Step 62, if the processor detects that the level of the INIT_B pin is pulled up from a low level to a high level, it confirms that the FPGA has completed configuration initialization and is ready to receive configuration data;
[0061] Step 63, the processor confirms the storage address of the FPGA configuration data in the no...
Embodiment 3
[0082] If the operating system running on the processor can manage the SPI bus, that is, it has the SPI bus management function (such as an embedded Linux system), then the relevant interface of the operating system will send the data. Among them, the upper layer user of the operating system The space transmits the data to the interface, and then sends the data interface in the lower kernel space. At this time, the process of configuring the FPGA is as follows: Figure 8 As shown, the specific processing flow is as follows:
[0083] Step 81, calling the call interface of the operating system in the user space to reset each pin of the FPGA;
[0084] Step 82, reset each pin of FPGA in kernel space;
[0085] Step 83, open the file that deposits the configuration data of FPGA in operating system;
[0086] Step 84, if there is an error in opening the file, abnormal processing is performed, for example, if the file fails to open, the file can be reopened, and if it fails to open a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 