Chip supporting multi-configuration adaptive switching and configuration method thereof

By adding configuration memory and version memory to the chip, the chip version information can be automatically obtained and configuration information can be selected, which solves the problem of low configuration efficiency of existing chips, realizes fully automated multi-configuration adaptive switching, and improves chip maintenance efficiency and accuracy.

CN120874716AActive Publication Date: 2025-10-31CHENGDU WEIDE QINGYUN ELECTRONICS CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511383384.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2025-10-31
Estimated Expiration
2045-09-26

Smart Images

  • Figure CN120874716A_ABST
    Figure CN120874716A_ABST
Patent Text Reader

Abstract

The invention provides a chip supporting multi-configuration adaptive switching and a configuration method thereof. The chip comprises a functional circuit; the configuration memory obtains the bit stream file and automatically stores configuration information in the bit stream file; the version memory stores chip version information; and the initialization control circuit automatically reads the chip version information from the version memory after the chip is powered on, and controls the functional circuit to select corresponding configuration information from the configuration memory according to the chip version information so as to complete power-on initialization. The configuration memory and the version memory are additionally arranged in the chip, so that the initialization control circuit can automatically obtain the version information of the chip after the chip is powered on, the configuration information of the functional circuit can be correspondingly extracted, and the power-on initialization of the functional circuit is realized. The whole process is fully automatically completed, and one bit stream file can be compatible with a plurality of chip versions, so that the chip configuration efficiency is improved, the chip maintenance cost is saved, and the problem of low efficiency of an existing chip configuration mode is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of chip design technology, and in particular to a chip that supports adaptive switching of multiple configurations and its configuration method. Background Technology

[0002] Once a chip is fabricated, its internal circuitry is fixed. To ensure its applicability, software is typically used to generate bitstream files to configure the various functional circuits and their combinations within the chip, enabling the chip to perform different functions and be applied to different scenarios. Taking the deserializer circuit in an FPGA chip as an example, the chip cannot be used directly after manufacturing; it requires configuring different functions and initializing it upon power-up before the circuit can be configured to the desired speed and operating mode.

[0003] However, to ensure that multiple bitstream files corresponding to different combination schemes can be used on the chip, each bitstream file needs to be tested and verified, making the testing process cumbersome and time-consuming. Moreover, when the chip's hardware circuitry is upgraded or modified, the bitstream files need to be modified and maintained accordingly. This means that during chip testing or use, the bitstream file must be selected according to the chip version number, which not only increases chip maintenance costs but also makes it very easy for the chip to fail to test or be used normally due to incompatibility between the bitstream file and the chip version.

[0004] Furthermore, existing chips typically require successful power-on initialization before their internal version information can be read, and chip circuit initialization itself requires the use of the correct bitstream file. Due to this limitation, to select the correct bitstream file during power-on initialization, the chip version must be obtained through other means, such as obtaining it from silkscreen text on the chip's exterior. However, this method of obtaining the chip version makes it difficult to quickly and accurately configure the chip. Summary of the Invention

[0005] The purpose of this invention is to provide a chip and its configuration method that support adaptive switching of multiple configurations, so as to at least solve the problem of low efficiency in existing chip configuration methods.

[0006] To address the aforementioned technical problems, this invention provides a chip that supports adaptive switching of multiple configurations, comprising: Functional circuit; Configure a memory for acquiring bitstream files and automatically storing the configuration information of the functional circuits in the bitstream files; Version memory is used to store chip version information; An initialization control circuit is used to automatically read the chip version information from the version memory after the chip is powered on, and control the functional circuit to select the corresponding configuration information from the configuration memory according to the read chip version information to complete the power-on initialization.

[0007] Optionally, in the chip supporting multi-configuration adaptive switching, the functional circuit includes a bus controller and an initialization state machine; the bus controller is used to select corresponding configuration information from the configuration memory according to the chip version information under the control of the initialization control circuit; the initialization state machine is used to perform power-on initialization according to the configuration information selected by the bus controller under the control of the initialization control circuit.

[0008] Optionally, in the chip that supports adaptive switching of multiple configurations, the configuration memory stores at least one type of configuration information, and each type of configuration information corresponds to a chip version information.

[0009] Optionally, in the chip supporting multi-configuration adaptive switching, each configuration information is stored in a different storage space of the configuration memory and has a different storage address; the functional circuit determines the storage address according to the chip version information and reads the configuration information from the configuration memory according to the determined storage address.

[0010] Optionally, in the chip supporting multi-configuration adaptive switching, the chip further includes a data transmission circuit and a data verification circuit; the data transmission circuit is used to send test data to the functional circuit; the functional circuit is used to process the test data to output result data; the data verification circuit is used to obtain the result data from the functional circuit and output a verification result based on the result data.

[0011] To address the aforementioned technical problems, the present invention also provides a chip configuration method, applied to a chip supporting adaptive switching of multiple configurations as described in any of the preceding claims, the chip configuration method comprising: Load the bitstream file upon power-on; Configure the memory to automatically store the configuration information of the functional circuits in the bitstream file; The initialization control circuit automatically reads the chip version information; The initialization control circuit selects the corresponding configuration information from the configuration memory based on the read chip version information, and uses the selected configuration information to perform power-on initialization.

[0012] Optionally, in the chip configuration method, the method for automatically storing configuration information of functional circuits in the bitstream file in the configuration memory includes: The configuration memory automatically retrieves at least one type of configuration information from the bitstream file; The configuration memory stores each configuration information in a different storage space and generates a corresponding storage address.

[0013] Optionally, in the chip configuration method, the method by which the initialization control circuit controls the functional circuit to select corresponding configuration information from the configuration memory according to the read chip version information, and controls the functional circuit to perform power-on initialization using the selected configuration information includes: The initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information; The functional circuit reads configuration information from the configuration memory based on the storage address provided by the initialization control circuit, and uses the read configuration information to perform power-on initialization.

[0014] Optionally, in the chip configuration method, the method by which the initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information includes: If the chip version information read by the initialization control circuit is the original chip version information, the initialization control circuit will not provide a storage address to the functional circuit, so that the functional circuit will not read the configuration information and will directly perform power-on initialization. If the chip version information read by the initialization control circuit is not the original chip version information, the initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information, so that the functional circuit can read the configuration information based on the storage address and use the read configuration information to perform power-on initialization.

[0015] Optionally, in the chip configuration method, if the chip version information read by the initialization control circuit is not the original chip version information, the method by which the functional circuit reads configuration information from the configuration memory according to the storage address provided by the initialization control circuit and performs power-on initialization using the read configuration information includes: If the user has permission to configure the initialization state machine of the functional circuit, the functional circuit reads the configuration information according to the storage address and directly uses the read configuration information to perform power-on initialization. If the user does not have permission to configure the initialization state machine of the functional circuit, the functional circuit reads the configuration information according to the storage address and writes the read configuration information into the storage space of the configuration information corresponding to the original chip version information to overwrite the configuration information corresponding to the original chip version information. Then, it uses the read configuration information to perform power-on initialization.

[0016] This invention provides a chip and its configuration method that support adaptive switching across multiple configurations, comprising: a functional circuit; a configuration memory for acquiring a bitstream file and automatically storing the configuration information of the functional circuit in the bitstream file; a version memory for storing chip version information; and an initialization control circuit for automatically reading the chip version information from the version memory after the chip is powered on, and controlling the functional circuit to select corresponding configuration information from the configuration memory according to the read chip version information to complete power-on initialization. By adding a configuration memory and a version memory to the chip, the initialization control circuit can automatically acquire the chip version information after the chip is powered on, and then extract the corresponding configuration information of the functional circuit to achieve power-on initialization of the functional circuit. The entire configuration process is fully automated, and a single bitstream file can be compatible with multiple chip versions simultaneously, which not only improves chip configuration efficiency but also saves chip maintenance costs, solving the problem of low efficiency in existing chip configuration methods. Attached Figure Description

[0017] Figure 1 This is a structural block diagram of the chip that supports adaptive switching of multiple configurations provided in this embodiment; Figure 2 This is a schematic diagram of the specific structure of the chip that supports adaptive switching of multiple configurations provided in this embodiment; Figure 3 This is a flowchart of the chip configuration method provided in this embodiment. Detailed Implementation

[0018] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a more comprehensive overview of the chip and its configuration method that support multi-configuration adaptive switching, as proposed in this invention. It should be noted that the drawings are all in a very simplified form and use non-precise scales, intended only to facilitate and clarify the illustration of the embodiments of this invention. Furthermore, the structures shown in the drawings are often only a part of the actual structure. In particular, different figures may emphasize different aspects and may sometimes use different scales.

[0019] It should be noted that the terms "first," "second," etc., used in the specification, claims, and drawings of this invention are used to distinguish similar objects in order to describe embodiments of the invention, and are not used to describe a specific order or sequence. It should be understood that such uses of terminology are interchangeable where appropriate. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0020] To clearly explain the implementation scheme of the AXI protocol-based DMAC chip and its control method provided in this embodiment, the technical terms involved in this embodiment are explained as follows: FPGA: Field Programmable Gate Array; APB: Advanced Peripheral Bus, the peripheral bus in the AMBA bus architecture proposed by ARM, is mainly used to connect low-speed, low-power peripheral devices and configuration registers; SRAM: Static Random-Access Memory; BRAM: Block RAM, is a dedicated high-speed storage resource inside an FPGA. It has an independent physical storage cell structure and supports large-capacity data caching and high-speed read and write operations. SerDes: Serializer Deserial, deserializer; TX: Send data; RX: Receive data.

[0021] This embodiment provides a chip that supports adaptive switching of multiple configurations, such as... Figure 1 As shown, it includes: Functional circuit; Configure a memory for acquiring bitstream files and automatically storing the configuration information of the functional circuits in the bitstream files; Version memory is used to store chip version information; An initialization control circuit is used to automatically read the chip version information from the version memory after the chip is powered on, and control the functional circuit to select the corresponding configuration information from the configuration memory according to the read chip version information to complete the power-on initialization.

[0022] The chip supporting multi-configuration adaptive switching provided in this embodiment adds configuration memory and version memory to the chip, enabling the initialization control circuit to automatically obtain chip version information after the chip is powered on. This allows the circuit to extract the configuration information of the functional circuits and perform power-on initialization. The entire configuration process is fully automated, and a single bitstream file can be compatible with multiple chip versions simultaneously. This not only improves chip configuration efficiency but also saves chip maintenance costs, solving the problem of low efficiency in existing chip configuration methods.

[0023] The chip provided in this embodiment can specifically be an FPGA-based chip.

[0024] In practical applications, functional circuits can be circuits within a chip used to implement specific circuit functions, such as deserializer (SerDes) circuits, analog-to-digital converter (ADC) circuits, etc., and this application does not impose any limitations on this. Furthermore, a single chip may include multiple functional circuits.

[0025] Specifically, in this embodiment, such as Figure 2 As shown, the functional circuit includes a bus controller and an initialization state machine; the bus controller is used to select corresponding configuration information from the configuration memory according to the chip version information under the control of the initialization control circuit; the initialization state machine is used to perform power-on initialization according to the configuration information selected by the bus controller under the control of the initialization control circuit.

[0026] In practical applications, the data interaction interface between the configuration memory and the bus controller can use the APB bus; the data interaction interface between the initialization control circuit and the bus controller and initialization state machine can also use the APB bus. Of course, in other embodiments, other bus interface protocols can also be used to realize data interaction between various circuit modules, and this application does not limit this.

[0027] Furthermore, in this embodiment, the configuration memory can be SRAM. Specifically, the SRAM space in the FPGA chip can be divided into multiple storage spaces according to the number of functional circuits and configuration requirements, to store the configuration information of each functional circuit respectively. Of course, in other embodiments, BRAM can also be set in the chip to store the configuration information of the functional circuits, and this application does not limit this.

[0028] Preferably, to facilitate subsequent chip expansion and upgrades, the configuration memory can be designed with redundancy, providing more space to store different configuration information. This allows for compatibility with different chip versions using a single bitstream file, enabling different configurations to achieve different chip functions. For example, the SerDes circuit initialization requires 8KB of space; therefore, the configuration memory can be set to 16KB, with the first 8KB used for SerDes circuit initialization and the last 8KB for storing configuration information. Of course, the specific size of the redundancy design can be reasonably determined based on chip area, functional circuit requirements, etc., and this application does not impose any restrictions on this.

[0029] In practical applications, the configuration memory can store at least one type of configuration information, each type of configuration information corresponding to a chip version information, thereby enabling configuration adaptive switching and fully automatic completion of the configuration process by using a bitstream file to correspond to configuration information of multiple chip versions.

[0030] Specifically, in this embodiment, each configuration information is stored in a different storage space of the configuration memory and has a different storage address; the functional circuit determines the storage address according to the chip version information and reads the configuration information from the configuration memory according to the determined storage address.

[0031] Furthermore, in this embodiment, the version memory can be either SRAM or BRAM, thereby enabling the chip version information to be stored and allowing the initialization control circuit to directly read the chip version information without any other conditions after the chip is powered on.

[0032] In practical applications, the data interaction interface between the version memory and the initialization control circuit can use the APB bus. Of course, in other embodiments, other bus interface protocols can also be used to implement the data interaction between the version memory and the initialization control circuit, and this application does not impose any restrictions on this.

[0033] Furthermore, in order to test the configured chip (functional circuit) and confirm its functionality, in this embodiment, as follows: Figure 2 As shown, the chip further includes a data transmission circuit and a data verification circuit; the data transmission circuit is used to send test data data_gen to the functional circuit; the functional circuit is used to process the test data to output result data; the data verification circuit is used to obtain the result data from the functional circuit and output verification result data_chk based on the result data.

[0034] In practical applications, the bitstream file can be provided by a computer PC or control terminal and loaded into the configuration memory via an interface. Furthermore, the verification results output by the data verification circuit can also be fed back to the computer PC or control terminal via an interface for subsequent confirmation and storage of the verification results.

[0035] Based on the chip supporting multi-configuration adaptive switching provided in this embodiment, this embodiment also provides a chip configuration method, such as... Figure 3 As shown, the chip configuration method includes: S1, Power on load bitstream file.

[0036] Specifically, in this embodiment, the bitstream file can be provided by a computer PC or control terminal, and the bitstream file can be automatically loaded after the chip is powered on.

[0037] S2, Configure the memory to automatically store the configuration information of the functional circuits in the bit stream file.

[0038] Specifically, in this embodiment, during the automatic configuration phase, the configuration memory automatically stores the configuration information from the bitstream file in the corresponding address space.

[0039] In practical applications, when multiple functional circuits need to be configured, the configuration information for each functional circuit is stored in different storage spaces of the configuration memory, and a corresponding storage address is generated. Furthermore, when at least one type of configuration information exists for the same functional circuit, the configuration memory automatically retrieves all configuration information from the bitstream file; and the configuration memory stores each type of configuration information in a different storage space, generating a corresponding storage address.

[0040] Preferably, in this embodiment, the configuration memory stores each configuration information sequentially according to the order of its corresponding chip version information, so that the initialization control circuit can determine the storage address of the corresponding configuration information based on the chip version information. Taking the SerDes circuit as an example, assuming the storage space of the configuration memory is 16K, the first 8K of the storage space can be used to store the configuration information corresponding to the original chip version information, and the last 8K of the storage space can be used to store the configuration information after the chip version is updated.

[0041] S3, the initialization control circuit automatically reads the chip version information.

[0042] Specifically, in this embodiment, the chip version information is stored in the version memory, and the initialization control circuit can automatically read the chip version information from the version memory after the chip is powered on.

[0043] S4, Initialization control circuit: The control function circuit selects the corresponding configuration information from the configuration memory based on the read chip version information, and uses the selected configuration information to perform power-on initialization.

[0044] Specifically, in this embodiment, firstly, the initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information; then, the functional circuit reads the configuration information from the configuration memory based on the storage address provided by the initialization control circuit, and performs power-on initialization using the read configuration information.

[0045] Preferably, considering that the functional circuit reads the configuration information corresponding to the original chip version information by default, in order to improve the chip configuration efficiency, in this embodiment, if the chip version information read by the initialization control circuit is the original chip version information, the initialization control circuit does not provide a storage address to the functional circuit, so that the functional circuit does not read the configuration information and directly performs power-on initialization. Only when the chip version information read by the initialization control circuit is not the original chip version information, the initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information, so that the functional circuit reads the configuration information according to the storage address and uses the read configuration information to perform power-on initialization.

[0046] Furthermore, this embodiment provides different power-on initialization procedures for different user permissions: If the chip circuit is a white-box circuit, that is, the user has the right to configure the initialization state machine of the functional circuit, the functional circuit reads the configuration information according to the storage address, and does not need to move the configuration information. It can directly use the read configuration information to perform power-on initialization. If the chip circuit is a black box circuit, meaning the user has no permission to configure the initialization state machine of the functional circuit and can only operate the open bus, then the functional circuit reads the configuration information according to the storage address and writes the read configuration information into the storage space of the configuration information corresponding to the original chip version information to overwrite the configuration information corresponding to the original chip version information. Then, it uses the read configuration information to perform power-on initialization.

[0047] Taking the SerDes circuit mentioned above as an example, the storage space of the configuration memory is 16K. The first 8K of the storage space stores the configuration information (configuration information 1) corresponding to the original chip version (chip version 1), and the last 8K of the storage space stores the configuration information (configuration information 2) corresponding to the advanced version (chip version 2). When configuring the chip, if the chip version information read by the initialization control circuit is chip version 1, the initialization state machine in the functional circuit directly performs power-on initialization based on the configuration information (configuration information 1) stored in the first 8K of the configuration memory. If the chip version information read by the initialization control circuit is chip version 2, and the user has the authority to configure the initialization state machine of the functional circuit, the bus controller in the functional circuit reads configuration information 2 from the configuration memory and rewrites the initialization state machine in the functional circuit so that the initialization state machine directly uses the configuration information (configuration information 2) stored in the last 8K of the configuration memory for power-on initialization. If the chip version information read by the initialization control circuit is chip version 2, and the user does not have the authority to configure the initialization state machine of the functional circuit, the bus controller in the functional circuit first reads configuration information 2 from the last 8K of the configuration memory, and then writes configuration information 2 one by one into the first 8K of the configuration memory so that configuration information 2 overwrites configuration information 1. Finally, the initialization state machine in the functional circuit uses the configuration information (configuration information 2) stored in the first 8K of the configuration memory for power-on initialization.

[0048] After initialization, the functional circuits and their related circuits are de-reset, and the configuration initialization state is updated. Since the configuration information in the configuration memory has already been overwritten and updated during the reset circuit, the initialization operation only needs to be performed once upon power-up, thus saving chip reset time.

[0049] Preferably, to ensure the chip functions properly, in this embodiment, after initialization, the functional circuit also needs to be verified. Specifically, the data sending circuit sends test data (data_gen) to the functional circuit; the functional circuit processes the test data to output result data; the data verification circuit obtains the result data from the functional circuit and outputs the verification result (data_chk) to the computer PC or control terminal based on the result data, thereby performing subsequent confirmation and storage operations on the verification result.

[0050] The chip and its configuration method that support multi-configuration adaptive switching provided in this embodiment store chip version information by adding a version memory to the chip. This makes it easier for the initialization control circuit to obtain the chip version information without other conditions after power-on, and then obtain the corresponding configuration information to realize the automatic configuration of the functional circuit.

[0051] The chip and configuration method that support adaptive switching of multiple configurations provided in this embodiment, by making the configuration memory redundantly designed, enables it to store configuration information of multiple chip versions. This not only allows multiple chip versions to be compatible with a single bitstream file, but also facilitates the subsequent expansion and upgrade of the chip.

[0052] The chip and its configuration method that support multi-configuration adaptive switching provided in this embodiment use a single bitstream file to accommodate multiple configuration information, minimizing the use of logic resources in the FPGA, thereby ensuring the timing convergence of FPGA placement and routing, and thus ensuring chip functionality and broadening application scenarios.

[0053] The chip and its configuration method that support multi-configuration adaptive switching provided in this embodiment can use a bitstream file to adapt to white-box circuits and black-box circuits. In the case of black-box circuits, there is no need to care about the internal initialization state machine of the functional circuit. The circuit configuration can be achieved simply by moving the configuration information in the configuration memory to the initial storage space and overwriting the configuration file corresponding to the original version. In the case of white-box circuits, the initialization state machine of the functional circuit is rewritten, so that the configuration information is read according to the storage address to achieve circuit configuration, saving initialization time.

[0054] The chip and its configuration method that support adaptive switching of multiple configurations provided in this embodiment are fully automated in the configuration process and can adaptively switch configurations according to the chip version. This not only saves chip version determination time, but also improves the accuracy and efficiency of chip configuration.

[0055] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to mutually. In addition, different parts between embodiments can also be combined with each other, and this invention does not limit this.

[0056] This embodiment provides a chip and its configuration method that support adaptive switching across multiple configurations, including: a functional circuit; a configuration memory for acquiring a bitstream file and automatically storing the configuration information of the functional circuit in the bitstream file; a version memory for storing chip version information; and an initialization control circuit for automatically reading the chip version information from the version memory after the chip is powered on, and controlling the functional circuit to select the corresponding configuration information from the configuration memory according to the read chip version information to complete power-on initialization. By adding a configuration memory and a version memory to the chip, the initialization control circuit can automatically acquire the chip version information after the chip is powered on, and then extract the configuration information of the functional circuit accordingly to achieve power-on initialization of the functional circuit. The entire configuration process is fully automated, and a single bitstream file can be compatible with multiple chip versions simultaneously, which not only improves chip configuration efficiency but also saves chip maintenance costs, solving the problem of low efficiency in existing chip configuration methods.

[0057] The above description is merely a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the claims.

Claims

1. A chip supporting adaptive switching of multiple configurations, characterized in that, include: Functional circuit; Configure a memory for acquiring bitstream files and automatically storing the configuration information of the functional circuits in the bitstream files; Version memory is used to store chip version information; An initialization control circuit is used to automatically read the chip version information from the version memory after the chip is powered on, and control the functional circuit to select the corresponding configuration information from the configuration memory according to the read chip version information to complete the power-on initialization.

2. The chip supporting multi-configuration adaptive switching according to claim 1, characterized in that, The functional circuit includes a bus controller and an initialization state machine; the bus controller is used to select corresponding configuration information from the configuration memory according to the chip version information under the control of the initialization control circuit; the initialization state machine is used to perform power-on initialization according to the configuration information selected by the bus controller under the control of the initialization control circuit.

3. The chip supporting multi-configuration adaptive switching according to claim 1, characterized in that, The configuration memory stores at least one type of configuration information, and each type of configuration information corresponds to a chip version information.

4. The chip supporting multi-configuration adaptive switching according to claim 3, characterized in that, Each configuration information is stored in a different storage space of the configuration memory and has a different storage address; The functional circuit determines the storage address based on the chip version information, and reads the configuration information from the configuration memory based on the determined storage address.

5. The chip supporting adaptive switching of multiple configurations according to claim 1, characterized in that, The chip further includes a data transmission circuit and a data verification circuit; the data transmission circuit is used to send test data to the functional circuit; the functional circuit is used to process the test data to output result data; The data verification circuit is used to obtain the result data from the functional circuit and output the verification result based on the result data.

6. A chip configuration method, applied to a chip supporting adaptive switching of multiple configurations as described in any one of claims 1 to 5, characterized in that, The chip configuration method includes: Load the bitstream file upon power-on; Configure the memory to automatically store the configuration information of the functional circuits in the bitstream file; The initialization control circuit automatically reads the chip version information; The initialization control circuit selects the corresponding configuration information from the configuration memory based on the read chip version information, and uses the selected configuration information to perform power-on initialization.

7. The chip configuration method according to claim 6, characterized in that, The method for automatically storing configuration information of functional circuits in a bitstream file using a configuration memory includes: The configuration memory automatically retrieves at least one type of configuration information from the bitstream file; The configuration memory stores each configuration information in a different storage space and generates a corresponding storage address.

8. The chip configuration method according to claim 6, characterized in that, The method by which the initialization control circuit controls the functional circuit to select the corresponding configuration information from the configuration memory based on the read chip version information, and controls the functional circuit to perform power-on initialization using the selected configuration information includes: The initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information; The functional circuit reads configuration information from the configuration memory based on the storage address provided by the initialization control circuit, and uses the read configuration information to perform power-on initialization.

9. The chip configuration method according to claim 8, characterized in that, The method by which the initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information includes: If the chip version information read by the initialization control circuit is the original chip version information, the initialization control circuit will not provide a storage address to the functional circuit, so that the functional circuit will not read the configuration information and will directly perform power-on initialization. If the chip version information read by the initialization control circuit is not the original chip version information, the initialization control circuit determines the storage address of the corresponding configuration information based on the read chip version information, so that the functional circuit can read the configuration information based on the storage address and use the read configuration information to perform power-on initialization.

10. The chip configuration method according to claim 9, characterized in that, If the chip version information read by the initialization control circuit is not the original chip version information, the method by which the functional circuit reads configuration information from the configuration memory according to the storage address provided by the initialization control circuit and performs power-on initialization using the read configuration information includes: If the user has permission to configure the initialization state machine of the functional circuit, the functional circuit reads the configuration information according to the storage address and directly uses the read configuration information to perform power-on initialization. If the user does not have permission to configure the initialization state machine of the functional circuit, the functional circuit reads the configuration information according to the storage address and writes the read configuration information into the storage space of the configuration information corresponding to the original chip version information to overwrite the configuration information corresponding to the original chip version information. Then, it uses the read configuration information to perform power-on initialization.

Citation Information

Patent Citations

  • Multi-version code stream storage circuit architecture for configuration memory dedicated for FPGA (Field Programmable Gate Array)

    CN102866865A

  • Field programmable gate array multi-version configuration chip, system and method

    CN107704285A

  • Method of loading multi-version XILINX-FPGA updating programs online

    CN107977217A

  • FPGA (Field Programmable Gate Array) online configuration method and equipment, medium and program product

    CN119473359A