IP Library Granted Patent US 11,657,011
Granted Patent B2
US 11,657,011 · App. 17/780,190 · Granted May 23, 2023

Avalon-to-Axi4 bus conversion method

Inventors: Lei Guo (Jiangsu, CN); Jingdong Zhang (Jiangsu, CN); Jiangwei Wang (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F13/4013G06F13/4239
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,657,011
App. No.
17/780,190
Granted
May 23, 2023
Kind
B2
Abstract

Disclosed is an Avalon-to-Axi4 bus conversion method, including: in case that an Avalon bus is an Avalon_st bus, receiving Avalon_st bus data, performing a logical process on the received Avalon_st bus data, and then outputting corresponding Axi4_st bus data; and in case that the Avalon bus is an Avalon_mm bus, receiving a signal transmitted by each channel of the Avalon_mm bus, framing and storing the signal in asynchronous First Input First Output (FIFO), and in case that a device corresponding to an Axi4 bus is ready, reading the signal from the asynchronous FIFO, and outputting the signal to a corresponding channel of the Axi4 bus according to a timing relationship of the Axi4 bus.

Claims (38)

1. An Avalon-to-Axi4 bus conversion method, comprising:

in case that an Avalon bus is a streaming mode of the Avalon bus (Avalon_st bus), receiving Avalon_st bus data, performing a logical process on the Avalon_st bus data, and then outputting corresponding streaming mode of an Axi4 bus (Axi4_st bus) data; and

in case that the Avalon bus is a memory mapping mode of the Avalon bus (Avalon_mm bus), receiving a signal transmitted by each channel of the Avalon_mm bus, framing and storing the signal in asynchronous First Input First Output (FIFO), and in case that a device corresponding to an Axi4 bus is ready, reading the signal from the asynchronous FIFO, and outputting the signal to a corresponding channel of the Axi4 bus according to a timing relationship of the Axi4 bus;

wherein the performing a logical process on the Avalon_st bus data and then outputting the corresponding streaming mode of the Axi4_st bus data comprises:

assigning values of a data packet end marker, data validity identifier, and device ready-state identifier in the Avalon_st bus data to corresponding interfaces of an Axi4_st bus;

performing high-low bit logic negation in units of bytes on data in the Avalon_st bus data, and then assigning a value to the corresponding interface of the Axi4_st bus; and

obtaining a valid byte position based on an invalid byte position in the Avalon_st bus data, and assigning a value at the valid byte position to the corresponding interface of the Axi4_st bus.

2. The Avalon-to-Axi4 bus conversion method according to claim 1 , wherein the signal transmitted by each channel of the Avalon_mm bus comprises a read instruction, an address to be read, and a burst length, or comprises a write instruction, an address to be written, and a burst length, or comprises a write instruction, data to be written, and a burst length.

3. The Avalon-to-Axi4 bus conversion method according to claim 1 , further comprising:

outputting a waitrequest signal to the Avalon_mm bus according to a depth parameter and data storage condition of the asynchronous FIFO.

4. The Avalon-to-Axi4 bus conversion method according to claim 3 , further comprising:

modifying the depth parameter of the asynchronous FIFO.

5. An Avalon-to-Axi4 bus conversion device, comprising:

a memory, configured to store a computer program; and

a processor, configured to execute the computer program to implement any steps of an Avalon-to-Axi4 bus conversion method, wherein the Avalon-to-Axi4 bus conversion method comprises:

in case that an Avalon bus is a streaming mode of the Avalon bus (Avalon_st bus), receiving Avalon_st bus data, performing a logical process on the Avalon_st bus data, and then outputting corresponding streaming mode of an Axi4 bus (Axi4_st bus) data; and

in case that the Avalon bus is a memory mapping mode of the Avalon bus (Avalon_mm bus), receiving a signal transmitted by each channel of the Avalon_mm bus, framing and storing the signal in asynchronous First Input First Output (FIFO), and in case that a device corresponding to an Axi4 bus is ready, reading the signal from the asynchronous FIFO, and outputting the signal to a corresponding channel of the Axi4 bus according to a timing relationship of the Axi4 bus;

wherein the performing a logical process on the Avalon_st bus data and then outputting the corresponding streaming mode of the Axi4_st bus data comprises:

assigning values of a data packet end marker, data validity identifier, and device ready-state identifier in the Avalon_st bus data to corresponding interfaces of an Axi4_st bus;

performing high-low bit logic negation in units of bytes on data in the Avalon_st bus data, and then assigning a value to the corresponding interface of the Axi4_st bus; and

obtaining a valid byte position based on an invalid byte position in the Avalon_st bus data, and assigning a value at the valid byte position to the corresponding interface of the Axi4_st bus.

6. The Avalon-to-Axi4 bus conversion device according to claim 5 , wherein the signal transmitted by each channel of the Avalon_mm bus comprises a read instruction, an address to be read, and a burst length, or comprises a write instruction, an address to be written, and a burst length, or comprises a write instruction, data to be written, and a burst length.

7. The Avalon-to-Axi4 bus conversion device according to claim 5 , wherein the Avalon-to-Axi4 bus conversion method further comprises:

outputting a waitrequest signal to the Avalon_mm bus according to a depth parameter and data storage condition of the asynchronous FIFO.

8. The Avalon-to-Axi4 bus conversion device according to claim 7 , wherein the Avalon-to-Axi4 bus conversion method further comprises:

modifying the depth parameter of the asynchronous FIFO.

9. A non-transitory computer-readable storage medium, having a computer program stored thereon which, when executed by a processor, implements any steps of an Avalon-to-Axi4 bus conversion method, wherein the Avalon-to-Axi4 bus conversion method comprises:

in case that an Avalon bus is a streaming mode of the Avalon bus (Avalon_st bus), receiving Avalon_st bus data, performing a logical process on the Avalon_st bus data, and then outputting corresponding streaming mode of an Axi4 bus (Axi4_st bus) data; and

in case that the Avalon bus is a memory mapping mode of the Avalon bus (Avalon_mm bus), receiving a signal transmitted by each channel of the Avalon_mm bus, framing and storing the signal in asynchronous First Input First Output (FIFO), and in case that a device corresponding to an Axi4 bus is ready, reading the signal from the asynchronous FIFO, and outputting the signal to a corresponding channel of the Axi4 bus according to a timing relationship of the Axi4 bus;

wherein the performing a logical process on the Avalon_st bus data and then outputting the corresponding streaming mode of the Axi4_st bus data comprises:

assigning values of a data packet end marker, data validity identifier, and device ready-state identifier in the Avalon_st bus data to corresponding interfaces of an Axi4_st bus;

performing high-low bit logic negation in units of bytes on data in the Avalon_st bus data, and then assigning a value to the corresponding interface of the Axi4_st bus; and

obtaining a valid byte position based on an invalid byte position in the Avalon_st bus data, and assigning a value at the valid byte position to the corresponding interface of the Axi4_st bus.

10. The non-transitory computer-readable storage medium according to claim 9 , wherein the signal transmitted by each channel of the Avalon_mm bus comprises a read instruction, an address to be read, and a burst length, or comprises a write instruction, an address to be written, and a burst length, or comprises a write instruction, data to be written, and a burst length.

11. The non-transitory computer-readable storage medium according to claim 9 , wherein the Avalon-to-Axi4 bus conversion method further comprises:

outputting a waitrequest signal to the Avalon_mm bus according to a depth parameter and data storage condition of the asynchronous FIFO.

12. The non-transitory computer-readable storage medium according to claim 11 , wherein the Avalon-to-Axi4 bus conversion method further comprises:

modifying the depth parameter of the asynchronous FIFO.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 26, 2022
From: GUO, LEI; ZHANG, JINGDONG; WANG, JIANGWEI
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 060026/0818 →
Priority Claims (1)
CN 202010132403.7 · Feb 29, 2020 · national
Continuity (1)
Related Publication 20220414043A1 · Dec 29, 2022