The instant invention relates to the field of programmable logic device, in particular to a method and apparatus for constructing an FPGA chip top-level schematic, and a storage medium.
FPGA (Field-Programmable Gate Array) is a product of development on the basis of programmable devices such as PAL (Programmable Array Logic) and CPLD (Complex Programmable Logic Device). It appears as a semi-custom circuit in the field of ASIC, which not only solves the shortcomings of the custom circuit, but also overcomes the shortcomings of the limited number of gate circuits in original programmable device.
The present ASIC system integration technology in the art cannot meet the relevant work requirements of FPGA chips. Therefore, it is necessary to apply for an integration method of chip system suitable for FPGA chip development.
An object of the invention is to provide a method and apparatus for constructing an FPGA chip top-level schematic, and a storage medium, in order to solve the technical problem that the FPGA chip is not easy to integrate in the existing technology.
The technical solution of the invention is as follows:
a method for constructing an FPGA chip top-level schematic which comprises:
integrating several PRIM devices into one grid device;
integrating several grid devices into one tile device;
abstracting each tile device into a corresponding tile device symbol;
according to a predefined interconnection requirement, constructing each tile device into a tile interconnection line symbol of at least one corresponding form, wherein each of the tile interconnection line symbols includes several communication ports; and
integrating several tile interconnection line symbols into a top-level schematic.
Preferably, the step of “integrating several PRIM devices into one grid device comprises” integrating several PRIM devices and special logic units for storing configuration points into a grid device schematic.
Preferably, the PRIM device includes at least one cell electronics.
Preferably, different tile device achieve different functions.
Preferably, the predefined interconnection requirement comprises the physical layout of the connections between the PRIM devices in different tile devices.
Preferably, after integrating several tile interconnection line symbols into a top-level schematic, the method further comprises verifying the architecture information of the top-level schematic according to different tile interconnection line symbols.
Another technical solution of the invention is as follows: an apparatus for constructing an FPGA chip top-level schematic which comprises:
a first integration module for integrating several PRIM devices into one grid device;
a second integration module for integrating several grid devices into one tile device;
an abstract module for abstracting each tile device into a corresponding tile device symbol;
a morphological building block for according to a predefined interconnection requirement, constructing each tile device symbol into a tile interconnection line symbol of at least one corresponding form, wherein each of the tile interconnection line symbols includes several communication ports; and
a third integration module, for integrating several tile interconnection line symbols into a top-level schematic.
Preferably, the apparatus further comprises a verification module for verifying the architecture information of the top-level schematic according to different tile interconnection line symbols.
Another technical solution of the invention is as follows: an apparatus for constructing an FPGA chip top-level schematic which includes a processor and a memory coupled to the processor, the memory stores program instructions. The processor is configured to execute the program instructions of memory storage in order to execute the above-mentioned method for constructing a top-level circuit of the FPGA chip.
Another technical solution of the invention is as follows: a storage medium which stores program instructions, and when the program instructions are executed by a processor, the above-mentioned method for constructing an FPGA chip top-level schematic is implemented.
The invention provides a method and apparatus for constructing an FPGA chip top-level schematic, and a storage medium. The method comprises: integrating several PRIM devices into one grid device; integrating several grid devices into one tile device; abstracting each tile device into a corresponding tile device symbol; according to a predefined interconnection requirement, constructing each tile device symbol into a tile interconnection line symbol of at least one corresponding form; and integrating several tile interconnection line symbols into a top-level schematic, by means of which, a hierarchical design is used such that multi-form tile interconnection line symbols can be realized, thereby improving the working efficiency of system integration and improving the high reliability, verifiability and easy-iteration of system integration.
In order to make the purpose, technical solution and advantages of this specification clearer, the technical solution of this specification will be clearly and completely described in combination with the specific implementation examples of this specification and the corresponding appended drawings. Obviously, the described implementation is only part of this specification, not all of it. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in the art without creative work belong to the scope of protection in this specification. It should be noted that the embodiments and features in the embodiments in the invention can be combined with each other without conflict.
The terms “first”, “second” and “third” in the description, claims and the above drawings of the invention are used to distinguish different objects, rather than to describe a specific order. In addition, the term “includes” and any variations thereof are intended to cover non exclusive inclusion. For example, a process, method, system, product or equipment containing a series of steps or units is not limited to the listed steps or units, but optionally also includes the steps or units not listed, or optionally includes other steps or units fixed to these processes, methods, products or equipment.
Referring to “embodiments” herein, it means that the particular features, structures or features described in combination with embodiments may be included in at least one embodiments of the invention. The occurrence of the phrase at various points in the specification does not necessarily refer to the same embodiments, nor are they independent or alternative embodiments mutually exclusive with other embodiments. It is understood explicitly and implicitly by those skilled in the field that the embodiments described here can be combined with other embodiments.
The method includes S102, integrating several grid devices into one tile device. In this embodiment, tile device which is hardware integration, is a hardware module formed by several grid devices. Different tile device realize different functions.
In an alternative embodiment, the tile device consists of several grid devices and a special logic unit, which is a special grid device used to store configuration points. In this step, several grid devices and special logic units for storing configuration points are integrated into a tile device.
The method includes S103, abstracting each tile device into a corresponding tile device symbol. In this embodiment, the construction of the top-level circuit is completed on the basis of the design of tile device symbol. And by cadence the tile device is abstracted into the corresponding tile device symbol. The tile device symbol is a level of hardware modularization, which is a virtual level and to facilitate the generation of bit stream file.
The method includes S104, according to a predefined interconnection requirement, constructing each tile device symbol into a tile interconnection line symbol of at least one corresponding form, wherein each of the tile interconnection line symbols includes several communication ports.
In this step, the construction of tile interconnection line symbol is to carry out the top-level symbol design. According to the full-chip design specifications, the system architecture engineer realizes and completes the design of various symbol forms of each tile device symbol. The core of this design is that all symbol forms need to achieve the interconnection requirements of the architecture. In order to achieve the two-dimensional plane to build a complete circuit design architecture diagram. The core of its architectural constraints is the interconnection requirements of the architecture for tile device signal ports, while the core of symbol with various forms are the various layout of tile device signal ports under this requirement. Please refer to
In this step, the predefined interconnection requirement comprises:
The method includes S105, integrating several tile interconnection line symbols into a top-level schematic.
In this step, based on the construction of all symbol forms of the tile device, the integration of all symbols are completed according to the chip architecture. The chip general diagram contains all the circuit design information of the whole chip, as shown in
In this embodiment, a method to create a top-level circuit based on the idea of hierarchical design is constructed, especially the idea of integrating the total circuit diagram based on the polymorphic symbol. This method can ensure high reliability, verifiability and easy iteration of system integration.
In an alternative embodiment, step S105 is followed by S106, verifying the architecture information of the top-level schematic according to different tile interconnection line symbols.
A technical solution for realizing the method in this embodiment is as follows:
the architecture of FPGA being divided into the following various levels of devices, which are formed in a hierarchical manner. The types of devices from bottom to top include: the lowest logical unit named PRIM device; the basic logical unit named grid device; a special basic logical unit which is different from normal grid device, which doesn't contain user-programmable resources and is used to store configuration points. It is named CRAM device. A level which is between the grid device and the top-level structural model is consisted of several grid devices and CRAM devices and is named tile devices. The top-level structure model named architecture device contains only the integration of tile devices.
The top-level circuit constructed by the method of this embodiment has the following usage scenarios:
First, design specification: according to the module design specifications and the tile device design specifications provided by the FPGA software design process, the system architecture engineer formulates the model design specifications that conform to the internal use of the hardware in this project.
Second, module design: according to the module design specification and the model design specification document discussed and decided by the software and hardware, the system architecture engineer and the module design engineer jointly carry out the module design, which specifically includes the model design of each level of device and each abstraction level.
Third, top-level symbol design: according to the full chip design specifications, the system architect implements and completes the design of various symbol forms of each tile device module. The core of this design is that all symbol forms need to jointly realize the interconnection requirements of the architecture.
Fourth, verification design: verification engineers formulate a verification plan according to the architecture specification, and complete the verification of the top-level circuit and architecture.
Firth, layout design: the layout engineer completes the layout design and verification based on the top-level circuit.
Further, the apparatus 20 also includes a verification module, which is used to verifying the architecture information of the top-level schematic according to different tile interconnection line symbols.
The memory 32 stores program instructions for implementing the method for constructing the top-level circuit of the FPGA chip in any of the foregoing embodiments.
The processor 31 is configured to execute the program instructions stored in the memory 42 to construct the top-level circuit of the FPGA chip.
The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip with signal processing capability. The processor 31 may also be a general purpose processor, Digital Signal Processor (DSP), invention specific integrated circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Referring to
In the several embodiments provided in the invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
In addition, each functional unit in each embodiment of the invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. The above are only the embodiments of the invention, and are not intended to limit the scope of the patent of the invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the invention, or directly or indirectly applied in other related technical fields, all are similarly included in the scope of patent protection of the invention.
The above is only the embodiment of the invention. It should be pointed out here that ordinary technicians in the art can make improvements without departing from the spirit of the invention, but these shall fall into the protection scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
202010961779.9 | Sep 2020 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/082532 | 3/24/2021 | WO |