Chip supporting multi-configuration adaptive switching and configuration method thereof
By adding configuration memory and version memory to the chip, the chip can automatically obtain version information and perform configuration initialization after power-on, which solves the problem of low configuration efficiency in the prior art, improves chip configuration efficiency and saves maintenance costs.
Patent Information
- Application Number
- CN202511383384.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-26
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2045-09-26
AI Technical Summary
Existing chip configuration methods are inefficient, testing processes are cumbersome, hardware circuit upgrades or modifications require maintenance of bitstream files, and chip version mismatches can easily lead to testing or usage anomalies.
A configuration memory and a version memory are added to the chip. The initialization control circuit automatically reads the chip version information and selects the corresponding configuration information from the configuration memory for power-on initialization based on the version information.
It achieves full automation of the chip configuration process, and a single bitstream file can be compatible with multiple chip versions, improving configuration efficiency, saving maintenance costs, and solving the problem of low efficiency in existing technologies.
Smart Images

Figure CN120874716B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of chip design, and in particular to a chip supporting adaptive switching of multiple configurations and a configuration method thereof. BACKGROUND
[0002] After a chip is taped out, the internal circuit structure thereof is fixed. In order to ensure the application range of the chip, a bitstream file is currently generated by means of software to configure each functional circuit and combination scheme in the chip, so that the chip realizes different functions and is applied to different scenarios. Taking a deserializer circuit in an FPGA chip as an example, the chip cannot be directly used after power-on, and needs to be configured with different functions for the deserializer circuit in the chip and controlled to be initialized after power-on, so that the circuit can be configured to the desired rate and working mode.
[0003] However, in order 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 confirmed, so that the test process is tedious and time-consuming. Moreover, when the hardware circuit of the chip is upgraded or modified, the bitstream file needs to be correspondingly modified and maintained, so that in the process of chip testing or use, the bitstream file needs to be selected according to the chip version number, which not only increases the chip maintenance cost, but also easily causes the chip to be unable to be normally tested or used due to the non-correspondence between the bitstream file and the chip version.
[0004] In addition, the existing chip usually needs to read the internal version information after successful power-on initialization, and the initialization of the chip circuit needs to use the correct bitstream file. Limited thereto, if the correct bitstream file is to be selected at the time of power-on initialization, the chip version needs to be obtained by other means, for example, from the chip external silk screen text, and such a chip version obtaining manner is difficult to quickly and accurately configure the chip. SUMMARY
[0005] The present application aims to provide a chip supporting adaptive switching of multiple configurations and a configuration method thereof, so as to at least solve the problem of low efficiency of the existing chip configuration method.
[0006] To solve the above technical problems, the present application provides a chip supporting adaptive switching of multiple configurations, comprising:
[0007] a functional circuit;
[0008] a configuration memory configured to obtain a bitstream file and automatically store configuration information of the functional circuit in the bitstream file;
[0009] a version memory configured to store chip version information;
[0010] The initialization control circuit is used for automatically reading the chip version information from the version memory after the chip is powered on, and controlling the function circuit to select corresponding configuration information from the configuration memory according to the read chip version information, so as to complete the power-on initialization.
[0011] Optionally, in the chip supporting the multi-configuration adaptive switching, the function circuit comprises a bus controller and an initialization state machine; the bus controller is used for selecting corresponding configuration information from the configuration memory according to the chip version information under the control of the initialization control circuit; and the initialization state machine is used for performing the power-on initialization according to the configuration information selected by the bus controller under the control of the initialization control circuit.
[0012] Optionally, in the chip supporting the multi-configuration adaptive switching, the configuration memory stores at least one kind of configuration information, and each configuration information corresponds to one chip version information.
[0013] Optionally, in the chip supporting the 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 function 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.
[0014] Optionally, in the chip supporting the multi-configuration adaptive switching, the chip further comprises a data sending circuit and a data verification circuit; the data sending circuit is used for sending test data to the function circuit; the function circuit is used for processing the test data to output result data; and the data verification circuit is used for acquiring the result data from the function circuit and outputting a verification result according to the result data.
[0015] To solve the above technical problems, the application further provides a chip configuration method applied to the chip supporting the multi-configuration adaptive switching.
[0016] Power-on loading of a bitstream file;
[0017] The configuration memory automatically stores the configuration information of the function circuit in the bitstream file;
[0018] The initialization control circuit automatically reads the chip version information;
[0019] The initialization control circuit controls the function circuit to select corresponding configuration information from the configuration memory according to the read chip version information, and controls the function circuit to perform the power-on initialization by using the selected configuration information.
[0020] Optionally, in the chip configuration method, the method for the configuration memory to automatically store the configuration information of the functional circuit in the bitstream file comprises:
[0021] The configuration memory automatically obtains at least one configuration information from the bitstream file;
[0022] The configuration memory stores each configuration information in a different storage space and generates a corresponding storage address.
[0023] Optionally, in the chip configuration method, the method for the initialization control circuit to control the functional circuit to select the corresponding configuration information from the configuration memory according to the read chip version information and control the functional circuit to perform power-on initialization using the selected configuration information comprises:
[0024] The initialization control circuit determines the storage address of the corresponding configuration information according to the read chip version information;
[0025] The functional circuit reads the 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.
[0026] Optionally, in the chip configuration method, the method for the initialization control circuit to determine the storage address of the corresponding configuration information according to the read chip version information comprises:
[0027] If the chip version information read by the initialization control circuit is the original chip version information, the initialization control circuit does not provide the storage address to the functional circuit, so that the functional circuit does not read the configuration information and directly performs power-on initialization;
[0028] 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 according to the read chip version information, so that the functional circuit reads the configuration information according to the storage address and performs power-on initialization using the read configuration information.
[0029] 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 for the functional circuit to read the configuration information from the configuration memory according to the storage address provided by the initialization control circuit and perform power-on initialization using the read configuration information comprises:
[0030] If 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 directly performs power-on initialization using the read configuration information;
[0031] If the user has no permission to configure the initialization state machine of the function circuit, the function circuit reads the configuration information according to the storage address, 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, and then performs power-on initialization by using the read configuration information.
[0032] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided by the application include: a function circuit; a configuration memory for acquiring a bitstream file and automatically storing configuration information of the function 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 function circuit to select corresponding configuration information from the configuration memory according to the read chip version information, to complete power-on initialization. By adding the configuration memory and the version memory in the chip, the initialization control circuit can automatically acquire the chip version information after the chip is powered on, and then can correspondingly extract the configuration information of the function circuit, to realize power-on initialization of the function circuit. The entire configuration process is fully automatic, one bitstream file can simultaneously support multiple chip versions, the chip configuration efficiency is improved, the chip maintenance cost is saved, and the problem of low efficiency of the existing chip configuration mode is solved. BRIEF DESCRIPTION OF DRAWINGS
[0033] Figure 1 A structural block diagram of the chip supporting multi-configuration adaptive switching provided by the embodiment is provided;
[0034] Figure 2 A specific structural schematic diagram of the chip supporting multi-configuration adaptive switching provided by the embodiment is provided;
[0035] Figure 3 A flowchart of the chip configuration method provided by the embodiment is provided. DETAILED DESCRIPTION
[0036] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided by the application are further described in detail below in combination with the drawings and specific embodiments. It should be noted that the drawings are all very simplified and use non-precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the application. In addition, the structures shown in the drawings are often part of the actual structures. In particular, the emphasis of each drawing is different, and sometimes different proportions are used.
[0037] It should be noted that the "first", "second", and the like in the description and claims of the present application and the accompanying drawings are used to distinguish similar objects, so as to describe the embodiments of the present application, and are not used to describe a specific order or sequence, and it should be understood that the structures thus used can be interchanged under appropriate circumstances. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0038] To clearly illustrate the implementation scheme of the AXI protocol-based DMAC chip and the control method thereof provided in the present embodiment, the technical terms involved in the present embodiment are explained as follows:
[0039] FPGA: Field Programmable Gate Array, field programmable gate array;
[0040] APB: Advanced Peripheral Bus, ARM's AMBA bus architecture peripheral bus, mainly used for connecting low-speed, low-power peripheral devices and configuration registers;
[0041] SRAM: Static Random-Access Memory, static random access memory;
[0042] BRAM: Block RAM, block random memory, is a special high-speed storage resource in FPGA, has an independent physical storage unit structure, supports large capacity data cache and high-speed read-write operation;
[0043] SerDes: Serializer Deserial, deserializer;
[0044] TX: transmit data;
[0045] RX: receive data.
[0046] The present embodiment provides a chip supporting multi-configuration adaptive switching, as shown in Figure 1 , comprising:
[0047] functional circuit;
[0048] configuration memory, configured to acquire a bitstream file and automatically store configuration information of the functional circuit in the bitstream file;
[0049] version memory, configured to store chip version information;
[0050] The initialization control circuit is configured to automatically read the chip version information from the version memory after the chip is powered on, and control the function circuit to select corresponding configuration information from the configuration memory according to the read chip version information, so as to complete the power-on initialization.
[0051] The chip supporting multi-configuration adaptive switching provided in the embodiment can automatically obtain chip version information through the configuration memory and the version memory in the chip after the chip is powered on, and then can correspondingly extract configuration information of the function circuit, so as to realize the power-on initialization of the function circuit. The whole configuration process is completed automatically, and one bit stream file can be compatible with multiple chip versions, which not only improves the chip configuration efficiency, but also saves the chip maintenance cost, and solves the problem of low efficiency of the existing chip configuration mode.
[0052] The chip provided in the embodiment can be a chip based on an FPGA.
[0053] In actual application, the function circuit can be a circuit for realizing a specific circuit function in the chip, for example, a SerDes circuit, an ADC circuit, etc., which is not limited in the present application. In addition, in the same chip, multiple function circuits can be included.
[0054] Specifically, in the embodiment, as shown in Figure 2 The function circuit includes a bus controller and an initialization state machine. The bus controller is configured 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 configured to perform power-on initialization according to the configuration information selected by the bus controller under the control of the initialization control circuit.
[0055] In actual application, the data interaction interface between the configuration memory and the bus controller can adopt an APB bus. The data interaction interface between the initialization control circuit and the bus controller and the initialization state machine can also adopt an APB bus. Of course, in other embodiments, other bus interface protocols can be adopted to realize the data interaction between the circuit modules, which is not limited in the present application.
[0056] Further, in the embodiment, the configuration memory can be an SRAM. Specifically, the SRAM space in the FPGA chip can be divided into multiple storage spaces according to the number of function circuits and configuration requirements, so as to store the configuration information of each function circuit respectively. Of course, in other embodiments, a BRAM can also be arranged in the chip to store the configuration information of the function circuit, which is not limited in the present application.
[0057] Preferably, in order to facilitate subsequent chip expansion and upgrade, the configuration memory can be redundantly designed, so as to have more space to store different configuration information, thereby facilitating the use of one bit stream file to be compatible with different chip versions, to implement different configurations to obtain different chip functions. For example, the SerDes circuit initialization requires a space length of 8K, therefore, the storage space of the configuration memory can be set to 16K, wherein the first 8K of the storage space is used for the initialization of the SerDes circuit, and the last 8K of the storage space can be used to store configuration information. Of course, the specific size of the redundant design can be reasonably confirmed according to the chip area, functional circuit demand, etc., and the present application does not limit this.
[0058] In actual application, the configuration memory can store at least one configuration information, each of the configuration information corresponds to one of the chip version information, so that one bit stream file can correspond to the configuration information of multiple chip versions, to realize configuration adaptive switching and fully automatic configuration process.
[0059] Specifically, in the embodiment, each of the configuration information is stored in different storage space of the configuration memory, and has 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.
[0060] Further, in the embodiment, the version memory can be SRAM or BRAM, so as to store the chip version information, and enable the initialization control circuit to directly read the chip version information after the chip is powered on without other conditions.
[0061] In actual application, the data interaction interface between the version memory and the initialization control circuit can adopt APB bus. Of course, in other embodiments, other bus interface protocols can also be used to realize the data interaction between the version memory and the initialization control circuit, and the present application does not limit this.
[0062] Further, in order to test the configured chip (functional circuit) to confirm the chip function, in the embodiment, as shown in Figure 2 The chip further includes a data sending circuit and a data verification circuit; the data sending 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; and the data verification circuit is used to obtain the result data from the functional circuit, and output verification result data_chk according to the result data.
[0063] In actual application, the bit stream file can be provided by a computer PC or a control terminal and loaded into the configuration memory through an interface. In addition, the check result output by the data check circuit can be fed back to the computer PC or the control terminal through the interface, so as to facilitate subsequent confirmation and storage of the check result.
[0064] Based on the chip supporting multi-configuration adaptive switching provided in the embodiment, the embodiment further provides a chip configuration method, as shown in the figure. Figure 3 The chip configuration method comprises the following steps:
[0065] S1, loading a bit stream file after power-on.
[0066] Specifically, in the embodiment, the bit stream file can be provided by a computer PC or a control terminal and automatically loaded after power-on of the chip.
[0067] S2, the configuration memory automatically stores configuration information of a functional circuit in the bit stream file.
[0068] Specifically, in the embodiment, in the automatic configuration phase, the configuration memory automatically stores the configuration information in the bit stream file in the corresponding address space.
[0069] In actual application, when multiple functional circuits need to be configured, the configuration information corresponding to each functional circuit is stored in different storage spaces of the configuration memory, and the corresponding storage address is generated. In addition, when there is at least one configuration information of the same functional circuit, the configuration memory automatically obtains all the configuration information from the bit stream file; and the configuration memory stores each configuration information in different storage spaces and generates the corresponding storage address.
[0070] Preferably, in the embodiment, the configuration memory stores each configuration information in the order of the chip version information corresponding thereto, so as to facilitate the initialization control circuit to determine the storage address of the corresponding configuration information according to the chip version information. Still taking the SerDes circuit as an example, assuming that the storage space of the configuration memory is 16K, the first 8K of the storage space can 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 version is advanced.
[0071] S3, the initialization control circuit automatically reads the chip version information.
[0072] Specifically, in the 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 power-on of the chip.
[0073] S4, the initialization control circuit controls the function circuit to select corresponding configuration information from the configuration memory according to the read chip version information, and controls the function circuit to perform power-on initialization by using the selected configuration information.
[0074] Specifically, in the embodiment, first, the initialization control circuit determines the storage address of the corresponding configuration information according to the read chip version information; then, the function circuit reads the configuration information from the configuration memory according to the storage address provided by the initialization control circuit, and performs power-on initialization by using the read configuration information.
[0075] Preferably, considering that the function circuit reads the configuration information corresponding to the original chip version information by default, in order to improve the configuration efficiency of the chip, in the 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 the storage address to the function circuit, so that the function 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 according to the read chip version information, so that the function circuit reads the configuration information according to the storage address, and performs power-on initialization by using the read configuration information.
[0076] Further, for different user permissions, the embodiment provides different power-on initialization processes:
[0077] If the chip circuit is a white box circuit, that is, the user has the permission to configure the initialization state machine of the function circuit, the function circuit reads the configuration information according to the storage address, and does not need to move the configuration information, and directly performs power-on initialization by using the read configuration information;
[0078] If the chip circuit is a black box circuit, that is, the user has no permission to configure the initialization state machine of the function circuit, and can only operate the open bus, the function 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, and then performs power-on initialization by using the read configuration information.
[0079] Still taking the above SerDes circuit as an example, the storage space of the configuration memory is configured as 16K, wherein the first 8K of the storage space stores configuration information (configuration information 1) corresponding to the original chip version (chip version 1), and the last 8K of the storage space stores configuration information (configuration information 2) corresponding to the new version (chip version 2). When configuring the chip, if the chip version information read by the initialization control circuit is the chip version 1, the initialization state machine in the functional circuit directly performs power-on initialization according to the configuration information (configuration information 1) stored in the first 8K of the storage space of the configuration memory; if the chip version information read by the initialization control circuit is the chip version 2, and the user has the right to configure the initialization state machine of the functional circuit, the bus controller in the functional circuit reads the configuration information 2 from the configuration memory, and rewrites the initialization state machine in the functional circuit, so that the initialization state machine directly performs power-on initialization by using the configuration information (configuration information 2) stored in the last 8K of the storage space of the configuration memory; if the chip version information read by the initialization control circuit is the chip version 2, and the user does not have the right to configure the initialization state machine of the functional circuit, the bus controller in the functional circuit first reads the configuration information 2 from the last 8K of the storage space of the configuration memory, and then writes the configuration information 2 into the first 8K of the storage space of the configuration memory one by one, so that the configuration information 2 covers the configuration information 1, and finally the initialization state machine in the functional circuit performs power-on initialization by using the configuration information (configuration information 2) stored in the first 8K of the storage space of the configuration memory.
[0080] After the initialization is completed, the functional circuit and the related circuits are de-asserted, and the configuration initialization state is updated. Since the configuration information in the configuration memory has been updated and covered when the reset circuit is reset, the initialization operation only needs to be performed once at power-on, thereby saving the chip reset time.
[0081] Preferably, in order to ensure the normal function of the chip, in the embodiment, the functional circuit needs to be verified after the initialization is completed. 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 a verification result data_chk to the computer PC or the control end according to the result data, so that the verification result is subsequently confirmed and stored, etc.
[0082] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided in the embodiment are advantageous in that the version memory is added in the chip to store the chip version information, which is beneficial for the initialization control circuit to obtain the chip version information after power-on without other conditions, and further obtain the corresponding configuration information to realize automatic configuration of the functional circuit.
[0083] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided in the embodiment can store configuration information of multiple chip versions by means of redundant design of the configuration memory, so that a bitstream file can be used to simultaneously support multiple chip versions, and the chip can be conveniently extended and upgraded in the future.
[0084] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided in the embodiment can use one bitstream file to support multiple configuration information, and minimize the use of logic resources in the FPGA, so as to ensure the timing convergence of the FPGA layout and wiring, and further ensure the chip function and broaden the application scenarios.
[0085] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided in the embodiment can use one bitstream file to adapt to white-box circuits and black-box circuits, so that in the black-box circuit, the initialization state machine in the functional circuit does not need to be concerned, and the configuration information in the configuration memory can be simply moved to the initial storage space and the configuration file corresponding to the original version is overwritten to realize the circuit configuration, and in the white-box circuit, the initialization state machine of the functional circuit is rewritten, so that the configuration information is read according to the storage address to realize the circuit configuration, and the initialization time is saved.
[0086] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided in the embodiment can realize the configuration process automatically, and can adaptively switch the configuration according to the chip version, so that the chip version judgment time is saved, and the chip configuration accuracy and efficiency are improved.
[0087] It should be noted that the embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. In addition, the different parts of each embodiment can also be used in combination, and the present application does not limit this.
[0088] The chip supporting multi-configuration adaptive switching and the configuration method thereof provided by the embodiment comprise: a functional circuit; a configuration memory, configured to acquire a bitstream file and automatically store configuration information of the functional circuit in the bitstream file; a version memory, configured to store chip version information; and an initialization control circuit, configured to automatically read the chip version information from the version memory after power-on of the chip and control 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 the configuration memory and the version memory in the chip, the initialization control circuit can automatically acquire the chip version information after power-on of the chip, and then can correspondingly extract the configuration information of the functional circuit, so that the power-on initialization of the functional circuit is realized. The whole configuration process is automatically completed, and one bitstream file can be compatible with multiple chip versions at the same time, which not only improves the chip configuration efficiency, but also saves the chip maintenance cost, and solves the problem of low efficiency of the existing chip configuration mode.
[0089] The above description is only a description of the preferred embodiments of the present application, and does not limit the scope of the present application in any way. Any modification or change made by a person skilled in the art according to the above disclosure is within the protection scope of the claims.
Claims
1. A chip supporting adaptive switching of multiple configurations, characterized in that, The chip comprises: a functional circuit; a configuration memory configured to acquire a bitstream file and automatically store configuration information of the functional circuit in the bitstream file; a version memory configured to store chip version information; an initialization control circuit configured to automatically read the chip version information from the version memory after the chip is powered on and control the functional circuit to select corresponding configuration information from the configuration memory according to the read chip version information to complete power-on initialization; the functional circuit comprises a bus controller and an initialization state machine; the bus controller is configured to select corresponding configuration information from the configuration memory according to the chip version information under the control of the initialization control circuit; and the initialization state machine is configured to perform power-on initialization according to the configuration information selected by the bus controller under the control of the initialization control circuit.
2. The chip supporting multi-configuration adaptive switching of claim 1, wherein, The configuration memory stores at least one configuration information, and each configuration information corresponds to one chip version information.
3. The chip of claim 2, wherein, 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.
4. The chip of claim 1, wherein, The chip further comprises a data sending circuit and a data verification circuit; the data sending circuit is configured to send test data to the functional circuit; and the functional circuit is configured to process the test data to output result data; the data verification circuit is configured to acquire the result data from the functional circuit and output a verification result according to the result data.
5. A chip configuration method applied to the chip supporting multi-configuration adaptive switching according to any one of claims 1-4, characterized in that, The chip configuration method comprises: powering on to load a bitstream file; a configuration memory automatically stores configuration information of a functional circuit in the bitstream file; an initialization control circuit automatically reads chip version information; 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 by using the selected configuration information.
6. The chip configuration method of claim 5, wherein, The method for the configuration memory to automatically store configuration information of a functional circuit in a bitstream file comprises: the configuration memory automatically acquires at least one configuration information from the bitstream file; the configuration memory stores each configuration information in a different storage space and generates a corresponding storage address.
7. The chip configuration method of claim 5, wherein The method for the initialization control circuit to control the functional circuit to select corresponding configuration information from the configuration memory according to the read chip version information and control the functional circuit to perform power-on initialization by using the selected configuration information comprises: the initialization control circuit determines the storage address of the corresponding configuration information according to the read chip version information; the functional circuit reads the configuration information from the configuration memory according to the storage address provided by the initialization control circuit and performs power-on initialization by using the read configuration information.
8. The chip configuration method of claim 7, wherein, The method for the initialization control circuit to determine the storage address of the corresponding configuration information according to the read chip version information comprises: If the chip version information read by the initialization control circuit is the original chip version information, the initialization control circuit does not provide the storage address to the function circuit, so that the function circuit does not read the configuration information and directly performs the 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 according to the read chip version information, so that the function circuit reads the configuration information according to the storage address and performs the power-on initialization by using the read configuration information.
9. The chip configuration method of claim 8, wherein, If the chip version information read by the initialization control circuit is not the original chip version information, the method for the function circuit to read the configuration information from the configuration storage according to the storage address provided by the initialization control circuit and perform the power-on initialization by using the read configuration information includes: If the user has the permission to configure the initialization state machine of the function circuit, the function circuit reads the configuration information according to the storage address and directly performs the power-on initialization by using the read configuration information; If the user does not have the permission to configure the initialization state machine of the function circuit, the function circuit reads the configuration information according to the storage address, 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, and then performs the power-on initialization by using the read configuration information.
Citation Information
Patent Citations
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