CN111709203A - FPGA (field programmable Gate array) optimization method and system for star topology structure of maintenance system - Google Patents
FPGA (field programmable Gate array) optimization method and system for star topology structure of maintenance system Download PDFInfo
- Publication number
- CN111709203A CN111709203A CN202010386603.5A CN202010386603A CN111709203A CN 111709203 A CN111709203 A CN 111709203A CN 202010386603 A CN202010386603 A CN 202010386603A CN 111709203 A CN111709203 A CN 111709203A
- Authority
- CN
- China
- Prior art keywords
- fpga
- maintenance
- register group
- module
- star topology
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/34—Circuit design for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]
- G06F30/343—Logical level
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
- Logic Circuits (AREA)
Abstract
The invention discloses a FPGA (field programmable gate array) optimization method and system for a star topology structure of a maintenance system, wherein the method comprises the following steps: s100, adding a maintenance relay module in each FPGA fragment in the plurality of FPGA fragments to be interconnected with a core function module so as to change the original single-beat logic into multi-beat logic; s200, based on the maintenance relay modules in the FPGA fragments, converting the connection structures between the FPGA fragments and the maintenance system function module from a star topology structure to a serial structure. The star topology structure is converted into a serial structure, so that the problem of interconnection of multiple FPGA maintaining systems under the multi-core scale is solved; and a maintenance relay module is added, the original single-beat logic is changed into multi-beat logic, and the threading logic is beaten for two beats by using a trigger, so that the problem of time sequence convergence of the threading logic is solved.
Description
Technical Field
The invention relates to the field of FPGA optimization, in particular to an FPGA optimization method and system for maintaining a star topology structure of a system.
Background
In chip design, in order to facilitate maintenance and debugging, system function modules are designed and maintained.
With SoC multi-core technology
The development is rapid, the number of cores integrated on one chip is more and more, the scale is larger and more, a maintenance system in a multi-core chip usually adopts a star topology structure, and a maintenance system function module and all core modules in the chip are connected with each other and are used for scanning, error reporting and other maintenance, diagnosis and test logics.
During FPGA simulation verification, after FPGA is sliced, due to the limitation of the number of pins between the slices, the number of connecting lines between the FPGA slices is increased sharply along with the increase of the number of cores, and the one-to-many maintenance star topology structure cannot be realized under the multi-core scale. Therefore, there is a need for an FPGA optimization technique for one-to-many star topologies without affecting logic correctness.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide an FPGA (field programmable gate array) optimization method and system for a star topology structure of a maintenance system, wherein the star topology structure is converted into a serial structure, the original one-to-many maintenance interconnection structure is optimized into a head-to-tail serial structure, and the problem of interconnection of multiple FPGAs of the maintenance system under the multi-core scale is solved.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
an FPGA optimization method for a star topology structure of a maintenance system comprises the following steps:
(1) a maintenance relay module is added in each FPGA fragment of the plurality of FPGA fragments and is interconnected with the core function module to change the original single-beat logic into multi-beat logic;
(2) and based on the maintenance relay modules in the FPGA fragments, converting the connection structures between the FPGA fragments and the maintenance system function module from a star topology structure to a serial structure.
Further, according to the above FPGA optimization method for the maintenance system star topology, the star topology is: and the core function module in each FPGA sub-chip is connected with the maintenance system function module.
Further, according to the above FPGA optimization method for maintaining the star topology of the system, the serial structure is: and the maintenance relay modules in the FPGA sub-slices are sequentially connected in series end to end, and the maintenance relay module in the first FPGA sub-slice is connected with the maintenance system function module.
Further, as described above, the method for optimizing an FPGA facing a star topology of a maintenance system includes: a plurality of register sets.
Further, the method for optimizing the FPGA facing the maintenance system star topology structure is characterized in that the maintenance relay module includes: the first register group is used for receiving an output signal of the core function module of the current stage through the maintenance interface; the second register group is used for receiving the output signal of the next-stage maintenance relay module; the third register group is used for receiving the output signals of the first register group and the second register group and sending the received signals to the upper-level maintenance relay module; the fourth register group is used for receiving the output signal of the upper-level core function module; the fifth register group is used for receiving the output signal of the fourth register group and sending the received signal to the next-stage maintenance relay module; and the sixth register group is used for receiving the output signal of the fourth register group and sending the received signal to the core function module of the current stage through the maintenance interface.
An FPGA optimization system for a star topology of a maintenance system comprises:
the system comprises an optimization module, a core function module and a plurality of FPGA fragments, wherein the optimization module is used for adding a maintenance relay module in each FPGA fragment in the plurality of FPGA fragments to be interconnected with the core function module so as to change the original single-beat logic into multi-beat logic;
and the conversion optimization module is used for converting the connection structure between the FPGA fragments and the maintenance system function module from a star topology structure into a serial structure based on the maintenance relay modules in the FPGA fragments.
Further, as described above, the FPGA optimization system for maintaining the star topology structure of the system, the star topology structure is: and the core function module in each FPGA sub-chip is connected with the maintenance system function module.
Further, as described above, the serial structure of the FPGA optimization system for the maintenance system star topology is: and the maintenance relay modules in the FPGA sub-slices are sequentially connected in series end to end, and the maintenance relay module in the first FPGA sub-slice is connected with the maintenance system function module.
Further, as described above, the maintenance relay module includes: a plurality of register sets.
Further, as described above, the maintenance relay module includes: the first register group is used for receiving an output signal of the core function module of the current stage through the maintenance interface; the second register group is used for receiving the output signal of the next-stage maintenance relay module; the third register group is used for receiving the output signals of the first register group and the second register group and sending the received signals to the upper-level maintenance relay module; the fourth register group is used for receiving the output signal of the upper-level core function module; the fifth register group is used for receiving the output signal of the fourth register group and sending the received signal to the next-stage maintenance relay module; and the sixth register group is used for receiving the output signal of the fourth register group and sending the received signal to the core function module of the current stage through the maintenance interface.
The invention has the beneficial effects that: the star topology structure is converted into a serial structure, so that the problem of interconnection of multiple FPGA maintaining systems under the multi-core scale is solved; and a maintenance relay module is added, the original single-beat logic is changed into multi-beat logic, and the threading logic is beaten for two beats by using a trigger, so that the problem of time sequence convergence of the threading logic is solved.
Drawings
Fig. 1 is a schematic flowchart of an FPGA optimization method for maintaining a star topology of a system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of topology conversion provided in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a maintenance relay module provided in the embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and the detailed description.
As shown in fig. 1, a method for optimizing an FPGA facing a star topology of a maintenance system includes:
s100, adding a maintenance relay module in each FPGA fragment in the plurality of FPGA fragments to be interconnected with a core function module so as to change the original single-beat logic into multi-beat logic;
s200, based on the maintenance relay modules in the FPGA fragments, converting the connection structures between the FPGA fragments and the maintenance system function module from a star topology structure to a serial structure.
The star topology is: and the core function module in each FPGA sub-chip is connected with the maintenance system function module.
The serial structure is as follows: the maintenance relay modules in the FPGA sub-slices are sequentially connected in series end to end, and the maintenance relay module in the first FPGA sub-slice is connected with the maintenance system function module.
Preferably, the maintenance relay module includes: the first register group is used for receiving an output signal of the core function module of the current stage through the maintenance interface; the second register group is used for receiving the output signal of the next-stage maintenance relay module; the third register group is used for receiving output signals of the first register group and the second register group and sending the received signals to the upper-level maintenance relay module; the fourth register group is used for receiving the output signal of the upper-level core function module; the fifth register group is used for receiving the output signal of the fourth register group and sending the received signal to the next-stage maintenance relay module; and the sixth register group is used for receiving the output signal of the fourth register group and sending the received signal to the core function module of the current stage through the maintenance interface.
As shown in fig. 2, the star topology is converted into a serial structure, and the original one-to-many maintenance interconnection structure is optimized into a first serial structure. Before conversion, each core function module is generally realized by using one FPGA fragment due to large scale, and since n core function modules and a maintenance system function module all have interfaces, after FPGA fragmentation (a dashed box in fig. 2 represents FPGA fragmentation), the FPGA where the maintenance logic is located needs n sets of maintenance interfaces. After the serial structure is converted, only one set of maintenance interface is needed for maintaining the FPGA where the logic is located, so that the problem of interconnection of multiple FPGAs of the maintenance system under the multi-core scale is solved.
As shown in fig. 3, the original single-beat logic is changed into multi-beat logic, and as the relay signal needs to be transmitted through the chip, the sockets used for the chip input and the chip output are not in the same super logic area, and no trigger is arranged in the middle, the time line crossing the super logic area is prolonged, and the timing constraint is difficult to meet. And the trigger is used for beating the maintenance relay signal needing threading transmission for two beats, so that IO register resources can be used for both the in-chip and the out-chip, and the problem of threading logic time sequence convergence is solved.
The invention converts the star topology structure into the serial structure, optimizes the original one-to-many maintenance interconnection structure into a head-to-tail serial structure, and solves the interconnection problem of multiple FPGAs of the maintenance system under the multi-core scale. The maintenance relay module is added to realize maintenance serial relay, the original single-beat logic is changed into multi-beat logic, and because the sockets used by the chip-through signal chip-in and chip-out are not in the same super logic area and no trigger is arranged in the middle, the time line crossing the super logic area is prolonged, and the time sequence constraint is difficult to meet. And the flip-flop is used for beating the threading logic for two beats, so that IO register resources can be used for both the in-chip and the out-chip, and the problem of threading logic time sequence convergence is solved.
The invention also provides an FPGA optimization system for the maintenance system star topology structure, which comprises:
the system comprises an optimization module, a core function module and a plurality of FPGA fragments, wherein the optimization module is used for adding a maintenance relay module in each FPGA fragment in the plurality of FPGA fragments to be interconnected with the core function module so as to change the original single-beat logic into multi-beat logic;
and the conversion optimization module is used for converting the connection structure between the FPGA slices and the maintenance system function module from a star topology structure into a serial structure based on the maintenance relay modules in the FPGA slices.
The star topology is: and the core function module in each FPGA sub-chip is connected with the maintenance system function module.
The serial structure is as follows: the maintenance relay modules in the FPGA sub-slices are sequentially connected in series end to end, and the maintenance relay module in the first FPGA sub-slice is connected with the maintenance system function module.
Preferably, the maintenance relay module includes: the first register group is used for receiving an output signal of the core function module of the current stage through the maintenance interface; the second register group is used for receiving the output signal of the next-stage maintenance relay module; the third register group is used for receiving output signals of the first register group and the second register group and sending the received signals to the upper-level maintenance relay module; the fourth register group is used for receiving the output signal of the upper-level core function module; the fifth register group is used for receiving the output signal of the fourth register group and sending the received signal to the next-stage maintenance relay module; and the sixth register group is used for receiving the output signal of the fourth register group and sending the received signal to the core function module of the current stage through the maintenance interface.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is intended to include such modifications and variations.
Claims (10)
1. An FPGA optimization method for a star topology structure of a maintenance system is characterized by comprising the following steps:
(1) a maintenance relay module is added in each FPGA fragment of the plurality of FPGA fragments and is interconnected with the core function module to change the original single-beat logic into multi-beat logic;
(2) and based on the maintenance relay modules in the FPGA fragments, converting the connection structures between the FPGA fragments and the maintenance system function module from a star topology structure to a serial structure.
2. The FPGA optimization method for the maintenance system star topology according to claim 1, wherein the star topology is: and the core function module in each FPGA sub-chip is connected with the maintenance system function module.
3. The FPGA optimization method for the maintenance system star topology according to claim 1, wherein the serial structure is: and the maintenance relay modules in the FPGA sub-slices are sequentially connected in series end to end, and the maintenance relay module in the first FPGA sub-slice is connected with the maintenance system function module.
4. The FPGA optimization method for the maintenance system star topology according to claim 1, wherein the maintenance relay module comprises: a plurality of register sets.
5. The FPGA optimization method for the maintenance system star topology according to claim 4, wherein the maintenance relay module comprises: the first register group is used for receiving an output signal of the core function module of the current stage through the maintenance interface; the second register group is used for receiving the output signal of the next-stage maintenance relay module; the third register group is used for receiving the output signals of the first register group and the second register group and sending the received signals to the upper-level maintenance relay module; the fourth register group is used for receiving the output signal of the upper-level core function module; the fifth register group is used for receiving the output signal of the fourth register group and sending the received signal to the next-stage maintenance relay module; and the sixth register group is used for receiving the output signal of the fourth register group and sending the received signal to the core function module of the current stage through the maintenance interface.
6. The utility model provides a maintain FPGA optimal system of system star topology structure which is characterized in that, includes:
the system comprises an optimization module, a core function module and a plurality of FPGA fragments, wherein the optimization module is used for adding a maintenance relay module in each FPGA fragment in the plurality of FPGA fragments to be interconnected with the core function module so as to change the original single-beat logic into multi-beat logic;
and the conversion optimization module is used for converting the connection structure between the FPGA fragments and the maintenance system function module from a star topology structure into a serial structure based on the maintenance relay modules in the FPGA fragments.
7. The FPGA optimization system for the maintenance system star topology according to claim 6, wherein the star topology is: and the core function module in each FPGA sub-chip is connected with the maintenance system function module.
8. The FPGA optimization system for the maintenance system star topology according to claim 6, wherein the serial structure is: and the maintenance relay modules in the FPGA sub-slices are sequentially connected in series end to end, and the maintenance relay module in the first FPGA sub-slice is connected with the maintenance system function module.
9. The FPGA optimization system for the maintenance system star topology according to claim 6, wherein the maintenance relay module comprises: a plurality of register sets.
10. The FPGA optimization system for the maintenance system star topology according to claim 9, wherein the maintenance relay module comprises: the first register group is used for receiving an output signal of the core function module of the current stage through the maintenance interface; the second register group is used for receiving the output signal of the next-stage maintenance relay module; the third register group is used for receiving the output signals of the first register group and the second register group and sending the received signals to the upper-level maintenance relay module; the fourth register group is used for receiving the output signal of the upper-level core function module; the fifth register group is used for receiving the output signal of the fourth register group and sending the received signal to the next-stage maintenance relay module; and the sixth register group is used for receiving the output signal of the fourth register group and sending the received signal to the core function module of the current stage through the maintenance interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010386603.5A CN111709203B (en) | 2020-05-09 | 2020-05-09 | FPGA optimization method and system for star topology of maintenance system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010386603.5A CN111709203B (en) | 2020-05-09 | 2020-05-09 | FPGA optimization method and system for star topology of maintenance system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111709203A true CN111709203A (en) | 2020-09-25 |
CN111709203B CN111709203B (en) | 2023-08-15 |
Family
ID=72536725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010386603.5A Active CN111709203B (en) | 2020-05-09 | 2020-05-09 | FPGA optimization method and system for star topology of maintenance system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111709203B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022151785A1 (en) * | 2021-01-12 | 2022-07-21 | 东科半导体(安徽)股份有限公司 | Signal relay method for pipeline register-based physical layer logic modules |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001046810A1 (en) * | 1999-12-22 | 2001-06-28 | Algotronix Ltd. | Method and apparatus for secure configuration of a field programmable gate array |
CN101262355A (en) * | 2008-04-18 | 2008-09-10 | 北京锐安科技有限公司 | A data switch processing board and its corresponding switch processing system |
CN102135950A (en) * | 2011-03-10 | 2011-07-27 | 中国科学技术大学苏州研究院 | On-chip heterogeneous multi-core system based on star type interconnection structure, and communication method thereof |
CN102521182A (en) * | 2011-11-23 | 2012-06-27 | 华南师范大学 | Extensible multichannel parallel real-time data acquisition device and method |
CN103714024A (en) * | 2013-12-18 | 2014-04-09 | 国核自仪系统工程有限公司 | Multi-serial port parallel processing framework based on SoC (System on a Chip) FPGA (Field Programmable Gata Array) |
CN104820657A (en) * | 2015-05-14 | 2015-08-05 | 西安电子科技大学 | Inter-core communication method and parallel programming model based on embedded heterogeneous multi-core processor |
WO2015155768A1 (en) * | 2014-04-07 | 2015-10-15 | Eyal Shachrai | Improved method and system for caching of video files |
CN205945749U (en) * | 2016-08-29 | 2017-02-08 | 陕西佳之易网络科技有限公司 | High -speed multichannel broadband DBF board |
CN110750086A (en) * | 2019-09-02 | 2020-02-04 | 芯创智(北京)微电子有限公司 | Digital logic automatic testing device and method |
CN111078492A (en) * | 2019-10-25 | 2020-04-28 | 芯创智(北京)微电子有限公司 | System and method for monitoring state of SoC internal bus |
-
2020
- 2020-05-09 CN CN202010386603.5A patent/CN111709203B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001046810A1 (en) * | 1999-12-22 | 2001-06-28 | Algotronix Ltd. | Method and apparatus for secure configuration of a field programmable gate array |
CN101262355A (en) * | 2008-04-18 | 2008-09-10 | 北京锐安科技有限公司 | A data switch processing board and its corresponding switch processing system |
CN102135950A (en) * | 2011-03-10 | 2011-07-27 | 中国科学技术大学苏州研究院 | On-chip heterogeneous multi-core system based on star type interconnection structure, and communication method thereof |
CN102521182A (en) * | 2011-11-23 | 2012-06-27 | 华南师范大学 | Extensible multichannel parallel real-time data acquisition device and method |
CN103714024A (en) * | 2013-12-18 | 2014-04-09 | 国核自仪系统工程有限公司 | Multi-serial port parallel processing framework based on SoC (System on a Chip) FPGA (Field Programmable Gata Array) |
WO2015155768A1 (en) * | 2014-04-07 | 2015-10-15 | Eyal Shachrai | Improved method and system for caching of video files |
CN104820657A (en) * | 2015-05-14 | 2015-08-05 | 西安电子科技大学 | Inter-core communication method and parallel programming model based on embedded heterogeneous multi-core processor |
CN205945749U (en) * | 2016-08-29 | 2017-02-08 | 陕西佳之易网络科技有限公司 | High -speed multichannel broadband DBF board |
CN110750086A (en) * | 2019-09-02 | 2020-02-04 | 芯创智(北京)微电子有限公司 | Digital logic automatic testing device and method |
CN111078492A (en) * | 2019-10-25 | 2020-04-28 | 芯创智(北京)微电子有限公司 | System and method for monitoring state of SoC internal bus |
Non-Patent Citations (1)
Title |
---|
钱盛涛: "\"片上互连的构件优化\"" * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022151785A1 (en) * | 2021-01-12 | 2022-07-21 | 东科半导体(安徽)股份有限公司 | Signal relay method for pipeline register-based physical layer logic modules |
Also Published As
Publication number | Publication date |
---|---|
CN111709203B (en) | 2023-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109541353B (en) | Distribution automation detecting system | |
CN101499937A (en) | Software and hardware collaborative simulation verification system and method based on FPGA | |
CN105357070A (en) | FPGA-based ARINC818 bus analysis and test apparatus | |
CN112394281B (en) | Test signal parallel loading conversion circuit and system-on-chip | |
CN101140314B (en) | On-site programmable gate array wire laying channel verification method and system thereof | |
CN104950241A (en) | Integrated circuit and method for establishing scanning test framework in integrated circuit | |
CN111709203A (en) | FPGA (field programmable Gate array) optimization method and system for star topology structure of maintenance system | |
CN103376340A (en) | Adapter plate, a multi-platform serial test system and method | |
CN109891843A (en) | Clock recovery and data for programmable logic device restore | |
CN112651208A (en) | Wiring congestion optimization method among modules in FPGA chip | |
CN104484257B (en) | A kind of general 1553B bus communication emulation test system and method | |
CN102402474A (en) | Prototype verification device for programmable logic devices | |
CN115237822A (en) | Address optimization device for IIC configuration interface of wafer-level processor | |
TWI631355B (en) | Communication and control topology for efficient testing of sets of devices | |
CN103728901B (en) | Control method based on the electronic jacquard machine control system of multiloop data transmission | |
CN103873598A (en) | Standardized interface device suitable for satellite-borne electronic equipment | |
CN109426671A (en) | A kind of generation method and device, computer readable storage medium of boundary scan chain | |
CN107255975A (en) | A kind of utilization high-speed bus realizes the device and method that FPGA programs are quickly loaded | |
KR101161811B1 (en) | Burn-in test apparatus for the transmission of high speed signal and burn-in board therefor and method for the transmission of high speed signal | |
CN100588981C (en) | On-site programmable gate array duplex selector verification method | |
CN110659037A (en) | JTAG-based burning device | |
CN111538469B (en) | Module signal generator based on multi-FPGA parallel output ultra-multipath signals | |
CN113347029B (en) | Torus network fault tolerance method based on topology reconstruction and path planning | |
CN109635480B (en) | Control logic verification and debugging method based on drawing software | |
CN114115438B (en) | FPGA prototype verification clock device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |