CN108255769B - AXI-PLB bridge - Google Patents
AXI-PLB bridge Download PDFInfo
- Publication number
- CN108255769B CN108255769B CN201711280985.8A CN201711280985A CN108255769B CN 108255769 B CN108255769 B CN 108255769B CN 201711280985 A CN201711280985 A CN 201711280985A CN 108255769 B CN108255769 B CN 108255769B
- Authority
- CN
- China
- Prior art keywords
- axi
- plb
- read
- write
- burst
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
- G06F13/4208—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a system bus, e.g. VME bus, Futurebus, Multibus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
Abstract
The invention relates to the technical field of computer hardware, in particular to an AXI-PLB bridge, which comprises a conversion module 1 in an AXI-PLB direction and a conversion module 2 in a PLB-AXI direction; the AXI-PLB conversion module 1 is used for converting the request of an AXI end into a request which accords with a PLB interface and comprises single-beat read-write operation and burst read-write transmission operation of the AXI end; the PLB-AXI conversion module 2 is used for converting the request of the PLB end into a request conforming to an AXI interface, and comprises single-beat read-write operation and burst read-write transmission operation of the PLB end. The invention realizes the mutual conversion between the common operations on the two buses and greatly simplifies the design difficulty.
Description
Technical Field
The invention relates to the technical field of computer hardware, in particular to a design implementation scheme of an AXI-PLB bridge.
Background
ARM is a top 32-bit RISC embedded processor in the industry, and has a large market share of embedded processors. The high-performance low-power consumption RISC chip is based on an AMBA bus structure and is widely applied to various products such as electronic equipment, wireless systems, automobiles, industrial control and the like. This also makes the AXI bus a bus protocol that is quite widely used.
The PLB bus is derived from CoreConnect bus specification, is a chip bus protocol designed by IBM corporation, and has complete functions and complete structure.
Therefore, the AXI-PLB bridge is designed and realized, the IP transplantation of different bus interfaces can be facilitated, and the method has important significance for engineering application.
Disclosure of Invention
The invention discloses an AXI-PLB bridge, which supports the mutual conversion of basic operations of common operations on two buses and the mutual conversion of inconsistent data bit widths of buses at two ends.
The technical solution of the invention is as follows:
an AXI-PLB bridge comprising an AXI-PLB directional translation module 1 and a PLB-AXI directional translation module 2;
the AXI-PLB conversion module 1 is used for converting the request of an AXI end into a request which accords with a PLB interface and comprises single-beat read-write operation and burst read-write transmission operation of the AXI end;
the PLB-AXI conversion module 2 is used for converting the request of the PLB end into a request conforming to an AXI interface, and comprises single-beat read-write operation and burst read-write transmission operation of the PLB end.
For the write operation initiated on the AXI, the conversion module 1 in the AXI-PLB direction puts the request on the AXI at the corresponding position on the PLB data bus according to the address, and simultaneously generates the corresponding PLB address and write-enabling information; and for the read operation initiated on the AXI, reading data is retrieved from a proper position on the PLB data bus according to the read address information of the AXI, and the read operation is completed.
The conversion module 2 in the PLB-AXI direction generates signals such as an AXI writing address and AXI writing data matched with AXI according to the writing enable signal for the single-beat writing operation initiated on the PLB; if the write data is more than one word, converting the write data into burst write operation on the AXI; for burst write operation initiated on PLB, converting into AXI burst write operation with fixed length for multiple times; for a single-beat read operation initiated on the PLB, generating a corresponding AXI read word address signal according to read word enable; for a read burst transfer initiated on the PLB, each transfer is converted into multiple fixed length read burst transfers on the AXI.
The invention has the technical effects that:
conventionally, AXI and PLB buses are two relatively complete bus types, supporting multiple operations and operation modes, and it is difficult to implement a complete AXI-PLB bridge. Considering that the application frequency of part of bus operation in engineering is very low and the development difficulty is high, the invention realizes the mutual conversion between the common operations on the two buses and greatly simplifies the design difficulty.
Drawings
FIG. 1 is a diagram of a design implementation structure of an AXI-PLB bridge according to the present invention.
FIG. 2 is a schematic diagram of an AXI-PLB bridge according to the present invention.
Detailed Description
The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings and the specific embodiments. It is obvious that the described embodiments are only a part of the embodiments of the present invention, rather than the whole embodiments, and that all other embodiments, which can be derived by a person skilled in the art without inventive step based on the embodiments of the present invention, belong to the scope of protection of the present invention.
An AXI-PLB bridge of the present invention, as shown in fig. 2, comprises an AXI-PLB direction conversion module 1 and a PLB-AXI direction conversion module (2);
the AXI-PLB conversion module 1 is used for converting the request of an AXI end into a request which accords with a PLB interface and comprises single-beat read-write operation and burst read-write transmission operation of the AXI end;
the PLB-AXI conversion module 2 is used for converting the request of the PLB end into a request conforming to an AXI interface, and comprises single-beat read-write operation and burst read-write transmission operation of the PLB end.
For the write operation initiated on the AXI, the conversion module 1 in the AXI-PLB direction puts the request on the AXI at the corresponding position on the PLB data bus according to the address, and simultaneously generates the corresponding PLB address and write-enabling information; and for the read operation initiated on the AXI, reading data is retrieved from a proper position on the PLB data bus according to the read address information of the AXI, and the read operation is completed.
The conversion module 2 in the PLB-AXI direction generates signals such as an AXI writing address and AXI writing data matched with AXI according to the writing enable signal for the single-beat writing operation initiated on the PLB; if the write data is more than one word, converting the write data into burst write operation on the AXI; for burst write operation initiated on PLB, converting into AXI burst write operation with fixed length for multiple times; for a single-beat read operation initiated on the PLB, generating a corresponding AXI read word address signal according to read word enable; for a read burst transfer initiated on the PLB, each transfer is converted into multiple fixed length read burst transfers on the AXI.
Examples
As shown in fig. 1, the AXI data bus bit width is 32 bits, and the PLB data bus bit width is 128 bits. When the PLB master equipment initiates single-beat reading, generating corresponding AXI read address information according to the PLB address and the read word enabling information of the PLB; when a PLB master initiates a burst read operation, each beat of the transfer will be converted to a fixed-length fixed-width burst transfer on the AXI. When the PLB master equipment initiates a single beat write operation, generating write address data of a corresponding AXI according to the PLB address and the write word enable of the PLB; when the PLB master device initiates write burst transmission, each beat of transmission is converted into fixed-length fixed-width burst transmission on the AXI, and the transmitted information such as data, addresses and the like also come from the PLB bus and are controlled by the internal state machine to be sent out.
When AXI master equipment initiates single-shot reading, PLB single-shot read word enabling information is generated according to information such as an AXI word address; when the AXI master initiates a read burst transfer, the requests are merged, resulting in a read four word (32 bit for one word) request for multiple times on the PLB. When the AXI master device initiates write single beat transmission, the write single beat transmission is converted into single beat write on the PLB end, and the write address and write enable information are both generated according to AXI related signals. When the AXI master initiates a write burst transfer, it will merge it, and every four burst transfers on the AXI will be converted to one transfer on the PLB.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (2)
1. An AXI-PLB bridge, characterized by: a conversion module (1) comprising an AXI-PLB direction and a PLB-AXI direction (2);
the AXI-PLB conversion module (1) is used for converting the request of an AXI end into a request conforming to a PLB interface, and comprises single-beat read-write operation and burst read-write transmission operation of the AXI end;
the PLB-AXI conversion module (2) is used for converting the request of the PLB end into a request conforming to an AXI interface, and comprises single-beat read-write operation and burst read-write transmission operation of the PLB end;
the conversion module (2) in the PLB-AXI direction generates signals such as an AXI writing address and AXI writing data matched with AXI according to the writing enable signal for the single-beat writing operation initiated on the PLB; if the write data is more than one word, converting the write data into burst write operation on the AXI; for burst write operation initiated on PLB, converting into AXI burst write operation with fixed length for multiple times; for a single-beat read operation initiated on the PLB, generating a corresponding AXI read word address signal according to read word enable; for a read burst transfer initiated on the PLB, each transfer is converted into multiple fixed length read burst transfers on the AXI.
2. The AXI-PLB bridge of claim 1, wherein: the conversion module (1) of AXI-PLB direction, for the write operation initiated on AXI, puts the request on AXI at the corresponding position on the PLB data bus according to the address, and generates the corresponding PLB address and write-word enabling information at the same time; and for the read operation initiated on the AXI, reading data is retrieved from a proper position on the PLB data bus according to the read address information of the AXI, and the read operation is completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711280985.8A CN108255769B (en) | 2017-12-06 | 2017-12-06 | AXI-PLB bridge |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711280985.8A CN108255769B (en) | 2017-12-06 | 2017-12-06 | AXI-PLB bridge |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108255769A CN108255769A (en) | 2018-07-06 |
CN108255769B true CN108255769B (en) | 2021-03-26 |
Family
ID=62721135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711280985.8A Active CN108255769B (en) | 2017-12-06 | 2017-12-06 | AXI-PLB bridge |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108255769B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254368B (en) * | 2021-07-15 | 2021-10-15 | 苏州浪潮智能科技有限公司 | Data writing method and data reading method from AXI bus to OPB bus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004709A (en) * | 2009-08-31 | 2011-04-06 | 国际商业机器公司 | Bus bridge between processor local bus (PLB) and advanced extensible interface (AXI) and mapping method |
US8489792B2 (en) * | 2010-03-12 | 2013-07-16 | Lsi Corporation | Transaction performance monitoring in a processor bus bridge |
CN105260331A (en) * | 2015-10-09 | 2016-01-20 | 天津国芯科技有限公司 | Dual-bus memory controller |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9081742B2 (en) * | 2009-04-27 | 2015-07-14 | Intel Corporation | Network communications processor architecture |
-
2017
- 2017-12-06 CN CN201711280985.8A patent/CN108255769B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004709A (en) * | 2009-08-31 | 2011-04-06 | 国际商业机器公司 | Bus bridge between processor local bus (PLB) and advanced extensible interface (AXI) and mapping method |
US8489792B2 (en) * | 2010-03-12 | 2013-07-16 | Lsi Corporation | Transaction performance monitoring in a processor bus bridge |
CN105260331A (en) * | 2015-10-09 | 2016-01-20 | 天津国芯科技有限公司 | Dual-bus memory controller |
Non-Patent Citations (3)
Title |
---|
LogiCORE IP AXI PLBv46 Bridge;xilinx;《www.xilinx.com》;20120725;1-61页 * |
Test Methodology for Characterizing the SEE Response of a Commercial IEEE 1394 Serial Bus (FireWire);C. Seidleck;《IEEE TRANSACTIONS ON NUCLEAR SCIENCE》;20021231;3129-3134页 * |
一种 1394 总线监控器数据包处理关键技术研究;魏美荣;《计算机技术与发展》;20140430;6-11页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108255769A (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5649128A (en) | Multiple bus interface adapter for connection to a plurality of computer bus architectures | |
US11899612B2 (en) | Online upgrading method and system for multi-core embedded system | |
US5564114A (en) | Method and an arrangement for handshaking on a bus to transfer information between devices in a computer system | |
CN101770442B (en) | Data interaction system with a plurality of external interfaces and method | |
KR20090101195A (en) | Command-based control of nand flash memory | |
EP0658852A3 (en) | Computer system with derived local bus | |
CN111078597A (en) | Interrupt message generation device and method and end equipment | |
JPH04213144A (en) | High-speed data access system | |
CN108255769B (en) | AXI-PLB bridge | |
US20130042046A1 (en) | Computing module with serial data connectivity | |
CN110765060B (en) | MDIO bus-to-parallel bus conversion method and device, equipment and medium | |
TWI397855B (en) | Method for reducing pin counts and microprocessor using the same | |
CN104077080A (en) | Memory access method, memory access control method, SPI flash memory device and controller thereof | |
CN110765065A (en) | System on chip | |
CN112214444A (en) | Inter-core communication method, ARM, DSP and terminal | |
CN101488119B (en) | Address interpretation method, apparatus and single-board | |
US7694004B2 (en) | Bit-granular writes of control registers | |
KR20050064568A (en) | On-chip serialized peripheral bus system and operating method thereof | |
CN116561036B (en) | Data access control method, device, equipment and storage medium | |
TWI783742B (en) | Electronic device that accesses memory and data writing method | |
KR100252508B1 (en) | Apparatus for interfacing rom to processor bus | |
KR100606698B1 (en) | Interfacing apparatus | |
US6971075B2 (en) | Circuit design method to control access pointers of different memory | |
JPS6194166A (en) | Address converting circuit of direct memory access | |
Sudhakar et al. | Interfacing between High Performance Drivers and Low Power Devices using ABP Bridge |
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 |