Communication system and operation method

By introducing selection signals into the communication system and using a single memory to implement transmission and reception programs, the problem of high circuit area and cost caused by multiple memories in the existing technology is solved, and a more efficient and economical communication system design is achieved.

CN112749021BActive Publication Date: 2024-10-22REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911038265.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-29
Publication Date
2024-10-22
Estimated Expiration
2039-10-29

AI Technical Summary

Technical Problem

Existing communication systems require multiple memories when transmitting and receiving programs, resulting in high circuit area and cost.

Method used

A communication system suitable for serial high-tech configuration bus is designed. By introducing selection signals in the memory circuit, a single memory is used to implement the transmission and reception procedures, thereby reducing the circuit area and cost.

Benefits of technology

It realizes the use of a single memory to complete the transmission and reception procedures, reduces the circuit area and cost, and improves the efficiency and economy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112749021B_ABST
    Figure CN112749021B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a communication system and an operation method. A communication system includes a physical layer circuit, a link layer circuit, a transport layer circuit and a memory circuit. The physical layer circuit is coupled to a first storage circuit. The link layer circuit is coupled to the physical layer circuit. The transport layer circuit is coupled to a second storage circuit. The memory circuit is coupled between the link layer circuit and the transport layer circuit. The memory circuit includes a memory. The memory is controlled to selectively transmit data of the second storage circuit to the first storage circuit or transmit data of the first storage circuit to the second storage circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments described in this application relate to a communication architecture, and more particularly to a communication system and an operating method. Background Art

[0002] Communication technology allows for signal transmission between two devices. However, in some related technologies, communication systems utilize multiple memories for both transmission and reception. This results in higher circuit area and higher costs. Summary of the Invention

[0003] Some embodiments of the present application relate to a communication system suitable for a serial high-tech configuration bus. The communication system includes a physical layer circuit, a link layer circuit, a transport layer circuit, and a memory circuit. The physical layer circuit is coupled to a first storage circuit. The link layer circuit is coupled to the physical layer circuit. The transport layer circuit is coupled to a second storage circuit. The memory circuit is coupled between the link layer circuit and the transport layer circuit. The memory circuit includes a memory. The memory is controlled to selectively transfer data from the second storage circuit to the first storage circuit or to transfer data from the first storage circuit to the second storage circuit.

[0004] Some embodiments of the present application relate to a method for operating a communication system. The communication system is applicable to a serial high-tech configuration bus. The method includes: generating a select signal via a memory access circuit, wherein the select signal has a first state or a second state; when the select signal has the second state, transferring data from a first storage circuit to a second storage circuit via a memory of a memory circuit; and when the select signal has the first state, transferring data from the second storage circuit to the first storage circuit via the memory circuit.

[0005] In summary, the communication system of the present application can utilize a single memory to implement the transmission process and the reception process, thereby reducing circuit area and lowering costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] To make the above and other objects, features, advantages and embodiments of the present application more clearly understood, the accompanying drawings are described as follows:

[0007] Figure 1 is a schematic diagram of a communication system according to some embodiments of the present application;

[0008] Figure 2 According to some embodiments of the present application Figure 1 a schematic diagram of a link layer circuit, a memory circuit, a transport layer circuit, and a memory access circuit; and

[0009] Figure 3It is a flowchart of an operating method of a communication system according to some embodiments of the present application. DETAILED DESCRIPTION

[0010] As used herein, the term “coupled” may also refer to “electrically coupled,” and the term “connected” may also refer to “electrically connected.” “Coupled” and “connected” may also refer to two or more components cooperating or interacting with each other.

[0011] refer to Figure 1 . Figure 1 FIG. 1 is a schematic diagram of a communication system 100 according to some embodiments of the present application. In some embodiments, the communication system 100 is applied to the Serial Advanced Technology Attachment (SATA) bus technology, but the present application is not limited thereto.

[0012] by Figure 1 For example, the communication system 100 includes a physical layer circuit 110 , a link layer circuit 120 , a memory circuit 130 , a transport layer circuit 140 , a memory access circuit 150 , a bus interface 160 , and a buffer 170 .

[0013] The physical layer circuit 110 is coupled to the storage circuit SC1. In some embodiments, the storage circuit SC1 is a hard disk, but this application is not limited thereto. The link layer circuit 120 is coupled to the physical layer circuit 110 via two physical layer interfaces PHY_IF. The memory circuit 130 is coupled between the link layer circuit 120 and the transport layer circuit 140. The transport layer circuit 140 is coupled to the memory access circuit 150. In some embodiments, the memory access circuit 150 is implemented as a direct memory access (DMA) controller circuit, but this application is not limited thereto. The memory access circuit 150 is coupled to the memory circuit 130. The memory access circuit 150 is coupled to the bus interface 160 via the memory access interface DMA_IF. The bus interface 160 is coupled to the register 170 via the register interface REG_IF. The bus interface 160 is coupled to the storage circuit SC2. In some embodiments, the storage circuit SC2 is dynamic random access memory (DRAM) or flash memory, but this application is not limited thereto.

[0014] In some embodiments, the link layer circuit 120, memory circuit 130, transport layer circuit 140, memory access circuit 150, bus interface 160, and register 170 operate within a Media Access Control (MAC) architecture. When the communication system 100 operates in transmit mode, the link layer circuit 120 operates based on the transmit clock signal TX_CLK. When the communication system 100 operates in receive mode, the link layer circuit 120 operates based on the receive clock signal RX_CLK. The transport layer circuit 140, memory access circuit 150, bus interface 160, and register 170 operate based on the application clock signal APP_CLK.

[0015] Also refer to Figure 1 as well as Figure 2 , Figure 2 According to some embodiments of the present application Figure 1 Schematic diagram of the link layer circuit 120, the memory circuit 130, the transport layer circuit 140 and the memory access circuit 150.

[0016] The memory circuit 130 includes a memory 132 and multiplexers MUX1 - MUX6 . In some embodiments, the memory 132 is implemented as a static random access memory (SRAM), but the present application is not limited thereto.

[0017] The memory access circuit 150 is configured to generate a select signal SEL based on the operating mode of the communication system 100. In some embodiments, the select signal SEL has two states (e.g., a logic value of 0 and a logic value of 1). A logic value of 0 corresponds to a transmit mode, and a logic value of 1 corresponds to a receive mode. In some embodiments, the select signal SEL may default to a logic value of 0.

[0018] When the communication system 100 operates in a transmission mode, the selection signal SEL has a logic value of 0. Multiplexers MUX1-MUX6 control the memory 132 to transfer data from the storage circuit SC2 to the storage circuit SC1 based on the selection signal SEL having a logic value of 0. When the communication system 100 operates in a reception mode, the selection signal SEL has a logic value of 1. Multiplexers MUX1-MUX6 control the memory 132 to transfer data from the storage circuit SC1 to the storage circuit SC2 based on the selection signal SEL having a logic value of 1.

[0019] Each of multiplexers MUX1-MUX6 includes an input terminal D0, an input terminal D1, an output terminal O, and a select terminal S. Memory 132 includes a read clock port CK1, a write clock port CK2, an input address port AD1, an output address port AD2, an enable port WE, a data port D, and an output port Q. In some embodiments, multiplexers MUX1 and MUX2 are implemented as glitch-free clock multiplexers, but the present application is not limited thereto. Glitch-free clock multiplexers are used to prevent glitch generation in the clock signals received by the write clock port CK1 and the read clock port CK2 during switching.

[0020] The input terminal D0 of the multiplexer MUX1 is used to receive the application clock signal APP_CLK. The input terminal D1 of the multiplexer MUX1 is used to receive the receive clock signal RX_CLK. The output terminal O of the multiplexer MUX1 is coupled to the read clock port CK1 of the memory 132. The select terminal S of the multiplexer MUX1 is used to receive the select signal SEL.

[0021] The input terminal D0 of the multiplexer MUX2 is used to receive the transmission clock signal TX_CLK. The input terminal D1 of the multiplexer MUX2 is used to receive the application clock signal APP_CLK. The output terminal O of the multiplexer MUX2 is coupled to the write clock port CK2 of the memory 132. The select terminal S of the multiplexer MUX2 is used to receive the select signal SEL.

[0022] The input terminal D0 of the multiplexer MUX3 is used to receive the transmission input address TXI_AD. The input terminal D1 of the multiplexer MUX3 is used to receive the reception input address RXI_AD. The output terminal O of the multiplexer MUX3 is coupled to the input address port AD1 of the memory 132. The selection terminal S of the multiplexer MUX3 is used to receive the selection signal SEL.

[0023] The input terminal D0 of the multiplexer MUX4 is used to receive the transmission output address TXO_AD. The input terminal D1 of the multiplexer MUX4 is used to receive the reception output address RXO_AD. The output terminal O of the multiplexer MUX4 is coupled to the output address port AD2 of the memory 132. The selection terminal S of the multiplexer MUX4 is used to receive the selection signal SEL.

[0024] The input terminal D0 of the multiplexer MUX5 is used to receive the transmission enable signal TX_EN. The input terminal D1 of the multiplexer MUX5 is used to receive the reception enable signal RX_EN. The output terminal O of the multiplexer MUX5 is coupled to the enable port WE of the memory 132. The selection terminal S of the multiplexer MUX5 is used to receive the selection signal SEL.

[0025] The input terminal D0 of the multiplexer MUX6 is used to receive the transmission data TX_DATA. The input terminal D1 of the multiplexer MUX6 is used to receive the reception data RX_DATA. The output terminal O of the multiplexer MUX6 is coupled to the data port D of the memory 132. The selection terminal S of the multiplexer MUX6 is used to receive the selection signal SEL.

[0026] When the communication system 100 operates in transmission mode, the transmission layer circuit 140 responsible for reading operates based on the application clock signal APP_CLK. The link layer circuit 120 responsible for writing operates based on the transmission clock signal TX_CLK. Accordingly, when the communication system 100 operates in transmission mode, the select signal SEL has a logic value of 0. Multiplexer MUX1 outputs the application clock signal APP_CLK to the read clock port CK1 of the memory 132 based on the select signal SEL having a logic value of 0. Multiplexer MUX2 outputs the transmission clock signal TX_CLK to the write clock port CK2 of the memory 132 based on the select signal SEL having a logic value of 0.

[0027] Multiplexer MUX3 outputs a transmission input address TXI_AD to an input address port AD1 of the memory 132 according to a selection signal SEL having a logic value of 0. Multiplexer MUX4 outputs a transmission output address TXO_AD to an output address port AD2 of the memory 132 according to a selection signal SEL having a logic value of 0. Multiplexer MUX5 outputs a transmission enable signal TX_EN to an enable port WE of the memory 132 according to a selection signal SEL having a logic value of 0. Multiplexer MUX6 outputs transmission data TX_DATA to a data port D of the memory 132 according to a selection signal SEL having a logic value of 0.

[0028] Accordingly, based on the transmission enable signal TX_EN received by the enable port WE, the memory 132 can transmit the transmission data TX_DATA received by the data port D from the block corresponding to the transmission input address TXI_AD in the storage circuit SC2 through the output port Q to the link layer circuit 120 according to the application frequency signal APP_CLK received by the read frequency port CK1 and the transmission frequency signal TX_CLK received by the write frequency port CK2, so as to be transmitted to the block corresponding to the transmission output address TXO_AD in the storage circuit SC1 through the physical layer interface PHY_IF and the physical layer circuit 110.

[0029] When the communication system 100 operates in receive mode, the link layer circuit 120 responsible for reading operates based on the receive clock signal RX_CLK. The transport layer circuit 140 responsible for writing operates based on the application clock signal APP_CLK. Accordingly, when the communication system 100 operates in receive mode, the select signal SEL has a logic value of 1. Multiplexer MUX1 outputs the receive clock signal RX_CLK to the read clock port CK1 of the memory 132 based on the select signal SEL having a logic value of 1. Multiplexer MUX2 outputs the application clock signal APP_CLK to the write clock port CK2 of the memory 132 based on the select signal SEL having a logic value of 1.

[0030] Multiplexer MUX3 outputs a received input address RXI_AD to an input address port AD1 of the memory 132 according to a selection signal SEL having a logic value of 1. Multiplexer MUX4 outputs a received output address RXO_AD to an output address port AD2 of the memory 132 according to a selection signal SEL having a logic value of 1. Multiplexer MUX5 outputs a received enable signal RX_EN to an enable port WE of the memory 132 according to a selection signal SEL having a logic value of 1. Multiplexer MUX6 outputs received data RX_DATA to a data port D of the memory 132 according to a selection signal SEL having a logic value of 1.

[0031] Accordingly, based on the receive enable signal RX_EN received by the enable port WE, the memory 132 can transmit the receive data RX_DATA received by the data port D from the block corresponding to the receive input address RXI_AD in the storage circuit SC1 through the output port Q to the transmission layer circuit 140 according to the receive frequency signal RX_CLK received by the read frequency port CK1 and the application frequency signal APP_CLK received by the write frequency port CK2, so as to be transmitted to the block corresponding to the receive output address RXO_AD in the storage circuit SC2 through the memory access circuit 150, the memory access interface DMA_IF and the bus interface 160.

[0032] Based on the above operation, the communication system 100 can implement the transmission process and the reception process using a single memory 132. Compared with the related art using multiple memories, the present application can achieve the effect of reducing circuit area and reducing cost.

[0033] refer to Figure 3 . Figure 3 is a flow chart of a method 300 for operating a communication system according to some embodiments of the present application. The method 300 includes operations S302, S304, and S306. In some embodiments, the method 300 is applied to Figure 1 For ease of understanding, the operation method 300 will be used with Figure 1 as well as Figure 2 Have a discussion.

[0034] In operation S302, the memory access circuit 150 generates a select signal SEL. In some embodiments, the select signal SEL has two states (e.g., logic value 0 and logic value 1). The select signal SEL is used to control the multiplexers MUX1-MUX6 of the memory circuit 130, thereby controlling the operation of the memory 132 through the multiplexers MUX1-MUX6.

[0035] In operation S304, when the select signal SEL has a state (e.g., logic value 1), the data in the storage circuit SC1 is transferred to the storage circuit SC2 via the memory 132 of the memory circuit 130. In some embodiments, this state (e.g., logic value 1) corresponds to a receive mode. That is, when the communication system 100 operates in the receive mode, the memory 132 is controlled to transfer the data in the storage circuit SC1 to the storage circuit SC2.

[0036] In operation S306, when the select signal SEL has another state (e.g., logic value 0), the data in the storage circuit SC2 is transferred to the storage circuit SC1 via the memory 132 of the memory circuit 130. In some embodiments, this state (e.g., logic value 0) corresponds to a transmission mode. That is, when the communication system 100 operates in the transmission mode, the memory 132 is controlled to transfer the data in the storage circuit SC2 to the storage circuit SC1.

[0037] In summary, the communication system of the present application can utilize a single memory to implement the transmission process and the reception process, thereby reducing circuit area and lowering costs.

[0038] Various functional components and function blocks have been disclosed herein. As will be appreciated by those skilled in the art, the function blocks may be implemented by circuitry (whether dedicated circuitry or general-purpose circuitry operating under the control of one or more processors and coded instructions), which generally includes transistors or other circuit components for controlling the operation of electrical circuits corresponding to the functions and operations described herein. As will be further understood, the specific structure and interconnection of the circuit components may generally be determined by a compiler, such as a register transfer language (RTL) compiler. A register transfer language (RTL) compiler operates on a script, which is quite similar to assembly language code, and compiles the script into a form used to lay out or fabricate the final circuit. Indeed, RTL is well known for its role and use in facilitating the design process of electronic and digital systems.

[0039] Although the present application has been disclosed in the form of an implementation method as described above, it is not intended to limit the present application. Any person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be determined by the scope of the appended claims.

[0040]

Explanation of symbols

[0041] 100: Communication System

[0042] 110: Physical layer circuit

[0043] 120: Link layer circuit

[0044] 130: Memory Circuit

[0045] 140: Transport layer circuit

[0046] 150: Memory access circuit

[0047] 160: Bus interface

[0048] 170: Cache

[0049] SC1, SC2: Storage circuit

[0050] PHY_IF: physical layer interface

[0051] DMA_IF: memory access interface

[0052] REG_IF: Buffer interface

[0053] TX_CLK: transmission frequency signal

[0054] RX_CLK: receiving frequency signal

[0055] APP_CLK: application frequency signal

[0056] 132: Memory

[0057] MUX1-MUX6: Multiplexer

[0058] D0, D1: input terminals

[0059] O: Output

[0060] S: Select end

[0061] SEL: Select signal

[0062] CK1: Read frequency port

[0063] CK2: write frequency port

[0064] AD1: input address port

[0065] AD2: output address port

[0066] WE: Enable port

[0067] D: Data port

[0068] Q: Output port

[0069] TXI_AD: Transmission input address

[0070] RXI_AD: Receive input address

[0071] TXO_AD: Transmission output address

[0072] RXO_AD: Receive output address

[0073] TX_EN: Transmission enable signal

[0074] RX_EN: receive enable signal

[0075] TX_DATA: Transmit data

[0076] RX_DATA: receive data

[0077] 300: How it works

[0078] S302, S304, S306: Operation.

Claims

1. A communication system suitable for a serial high-tech configuration bus, comprising: A physical layer circuit, coupled to a first storage circuit; a link layer circuit coupled to the physical layer circuit; a transmission layer circuit, coupled to a second storage circuit; and a memory circuit coupled between the link layer circuit and the transmission layer circuit, the memory circuit comprising a memory, the memory being controlled to selectively transmit the data of the second storage circuit to the first storage circuit or to transmit the data of the first storage circuit to the second storage circuit, in, When the communication system operates in a transmission mode, the link layer circuit operates according to a transmission frequency signal and the transmission layer circuit operates according to an application frequency signal, wherein when the communication system operates in a reception mode, the link layer circuit operates according to a reception frequency signal and the transmission layer circuit operates according to the application frequency signal.

2. The communication system according to claim 1, further comprising: a memory access circuit for generating a selection signal, wherein when the communication system operates in the transmission mode, the selection signal has a first state and the memory transmits the data of the second storage circuit to the first storage circuit, in, When the communication system operates in the receiving mode, the selection signal has a second state and the memory transmits the data of the first storage circuit to the second storage circuit.

3. The communication system according to claim 2, in, The memory includes a read frequency port, and the memory circuit also includes: A multiplexer is used for outputting the applied frequency signal or the received frequency signal to the read frequency port according to the selection signal.

4. The communication system according to claim 2, in, The memory includes a write frequency port, and the memory circuit also includes: A multiplexer is used for outputting the transmission frequency signal or the application frequency signal to the write frequency port according to the selection signal.

5. The communication system according to claim 2, in, The memory includes an input address port, and the memory circuit also includes: A multiplexer is used for outputting a transmission input address or a reception input address to the input address port according to the selection signal.

6. The communication system according to claim 2, in, The memory includes an output address port, and the memory circuit also includes: A multiplexer is used to output a transmission output address or a reception output address to the output address port according to the selection signal.

7. The communication system according to claim 2, in, The memory includes an enable port, and the memory circuit also includes: A multiplexer is used for outputting a transmission enable signal or a reception enable signal to the enable port according to the selection signal.

8. The communication system according to claim 2, in, The memory includes a data port, and the memory circuit also includes: A multiplexer is used for outputting a transmission data or a reception data to the data port according to the selection signal.

9. A method for operating a communication system, the communication system being applicable to a serial high-tech configuration bus, the method comprising: A memory access circuit generates a selection signal, wherein the selection signal has a first state or a second state; When the selection signal has the second state, data of a first storage circuit is transmitted to a second storage circuit via a memory of a memory circuit; and When the selection signal has the first state, the data of the second storage circuit is transmitted to the first storage circuit via the memory. in, When the communication system operates in a transmission mode, the link layer circuit coupled to the first storage circuit operates according to a transmission frequency signal and the transmission layer circuit coupled to the second storage circuit operates according to an application frequency signal, wherein, when the communication system operates in a reception mode, the link layer circuit operates according to a reception frequency signal and the transmission layer circuit operates according to the application frequency signal.