Bus chip architecture
By introducing a pass-through bus in the SoC chip to connect the video decoder and the display controller, the problem of high latency from video decoding to display in the existing architecture is solved, achieving real-time video playback and low power consumption, thus improving the user experience and battery life of smart wearable devices.
Patent Information
- Application Number
- CN202522628083.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-12-11
AI Technical Summary
In existing SoC chip architectures, video decoders and display controllers access off-chip memory via a shared bus. This requires decoded data to undergo two complete access steps: writing and reading. As a result, the end-to-end latency from decoding to display is high, which cannot meet the requirements for real-time video playback.
A pass-through bus is used to directly connect the video decoder and the video display controller. The on-chip memory and the video decoder are connected through a shared bus, which realizes high-speed caching and temporary storage of video data. The video decoder sends the decoded data directly to the video display controller, avoiding multiple accesses to the off-chip memory.
It reduces the end-to-end latency from decoding completion to display output, meets the requirements of real-time video playback, and avoids system performance bottlenecks under high load in resource-constrained smart wearable devices, thereby improving the real-time effect of video playback and device battery life.
Smart Images

Figure CN225034024U_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of video playback technology, and in particular relates to a bus chip architecture. Background Technology
[0002] With the increasing popularity of smart wearable devices such as smartwatches, smart bands, and glasses, users have higher and higher requirements for the video playback function of these devices. However, smart wearable devices typically use resource-constrained embedded MCUs or SoC chips. Existing SoC chip architectures include on-chip memory, a video decoder, and a video display controller, with a shared bus communicating with each of these components. Specifically, the video data processing flow is as follows: First, video data stored in external memory is loaded into the on-chip memory via the shared bus. Then, the video decoder decodes the video data into decoded data based on the shared bus. Next, the decoded data is written to external memory via the shared bus. Finally, to refresh the screen, the video display controller reads the decoded data from the external memory via the same shared bus and sends the decoded data to the display. However, existing video decoders and display controllers access external memory located outside the SoC chip via the shared system bus. This results in the decoded data having to undergo two complete access steps—writing and reading—to complete the process from decoding to display. Consequently, the end-to-end latency from decoding completion to display output is high, failing to meet the requirements for real-time video playback. Utility Model Content
[0003] The purpose of this application is to provide a bus chip architecture that can meet the requirements of real-time video playback.
[0004] To achieve the above objectives, this application proposes a bus chip architecture for use in a video playback system, comprising: On-chip memory, which is used to obtain input video data from the external memory corresponding to the video playback system; Shared bus; Through bus; A video decoder is provided, and the shared bus is communicatively connected to both the video decoder and the on-chip memory. The video decoder is used to obtain video data from the on-chip memory via the shared bus and decode it to obtain decoded data. A video display controller is provided, and the pass-through bus is communicatively connected to both the video display controller and the video decoder. The video display controller is used to obtain the decoded data from the video decoder via the pass-through bus and display the decoded data on the display corresponding to the video playback system.
[0005] According to some embodiments of this application, the on-chip memory includes a first memory and a second memory, and the shared bus is communicatively connected to the first memory and the second memory respectively. The first memory acquires the I-frame bitstream from the video data, and the second memory acquires the P-frame bitstream from the video data. The video decoder acquires the P-frame bitstream from the first memory through the shared bus and the I-frame bitstream from the second memory through the shared bus. Then, using the pixel data of the I-frame bitstream after on-chip parallel decoding as a reference, the P-frame bitstream is decoded to obtain the decoded data.
[0006] According to some embodiments of this application, the input terminal of the video display controller is provided with a flow control interface. According to some embodiments of this application, the input terminal of the video display controller is provided with a buffer.
[0007] According to some embodiments of this application, it further includes a path selector and off-chip memory. The shared bus is communicatively connected to the path selector, the off-chip memory, and the video display controller, respectively. The path selector is used to generate an image processing signal. The off-chip memory obtains the target image corresponding to the decoded data from the video decoder through the shared bus based on the image processing signal. The video display controller obtains the target image from the off-chip memory through the shared bus and displays the target image on the display.
[0008] According to some embodiments of this application, an image processor is also included, which is communicatively connected to the off-chip memory. The image processor is used to obtain the decoded data from the off-chip memory, perform image processing to obtain the target image, and send the target image to the off-chip memory.
[0009] According to some embodiments of this application, the video display controller includes a clock unit, wherein the video display controller is configured to acquire the target image from the off-chip memory according to a clock frequency generated by the clock unit.
[0010] According to some embodiments of this application, the clock unit employs a pixel clock.
[0011] According to some embodiments of this application, both the shared bus and the pass-through bus adopt the AXI bus.
[0012] According to some embodiments of this application, the on-chip memory is SRAM.
[0013] According to the above embodiments of this application, at least the following beneficial effects are achieved: the video display controller directly obtains the decoded data from the video decoder through the pass-through bus. Compared with the existing video decoder and display controller, which both access off-chip memory through the shared system bus, resulting in the decoded data having to go through two complete access steps of writing and reading, this can reduce the end-to-end latency from decoding completion to display output, so as to meet the requirements of video playback. Attached Figure Description
[0014] Figure 1 An embodiment of the present application provides an architecture diagram of an existing SoC chip; Figure 2 An architecture diagram of a bus chip provided for one embodiment of this application; Figure 3 An architecture diagram of a bus chip provided for another embodiment of this application; Figure 4 This is an architecture diagram of a bus chip provided for another embodiment of this application. Detailed Implementation
[0015] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0016] It should be noted that the terms "length", "width", "height", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "head", and "tail" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model.
[0017] It should also be noted that, unless otherwise explicitly specified and limited, terms such as "installation," "connection," "attachment," "fixing," and "setting" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0018] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Additionally, "multiple" and "several" mean two or more, unless otherwise explicitly specified.
[0019] With the increasing popularity of smart wearable devices such as smartwatches, smart bands, and glasses, users are demanding higher video playback capabilities from these devices. However, smart wearable devices typically use resource-constrained embedded MCUs or SoC chips. (Refer to...) Figure 1 As shown, the existing SoC chip architecture includes on-chip memory, a video decoder, and a display controller. The shared bus is communicatively connected to the on-chip memory, video decoder, and display controller, respectively. Specifically, the video data processing flow is as follows: First, video data stored in external memory is loaded into the on-chip memory via the shared bus. Then, the video decoder decodes the video data into decoded data based on the shared bus. Next, the decoded data is written to external memory via the shared bus. Finally, in order to refresh the screen, the display controller reads the decoded data from external memory via the same shared bus and sends the decoded data to the physical display screen. However, both the existing video decoder and display controller access external memory located outside the SoC chip through the shared system bus. This results in the decoded data having to undergo two complete access steps—writing and reading—to complete the process from decoding to display. Consequently, the end-to-end latency from decoding completion to display output is high, failing to meet the requirements of real-time video playback.
[0020] Therefore, the purpose of this application is to provide a bus chip architecture that can meet the requirements of real-time video playback. The components include a SoC chip, external memory, on-chip memory, off-chip memory, video decoder, video display controller, and display. Understandably, referring to Figure 2 As shown, a bus chip architecture provided according to an embodiment of this application is applied to a video playback system, including on-chip memory, a shared bus, a pass-through bus, a video decoder, and a video display controller.
[0021] It is understood that shared buses and pass-through buses are common communication channels or trunks within a chip used to connect core functional components such as the CPU (processor), on-chip memory, and I / O interfaces, for coordinating and transmitting data, addresses, and control signals between connected hardware. Specifically, shared buses and pass-through buses can be ISA buses, PCI buses, and AXI buses; this application does not limit the specific types of shared buses and pass-through buses.
[0022] In some embodiments, both the shared bus and the pass-through bus use the AXI bus.
[0023] On-chip memory is used to retrieve input video data from the external storage corresponding to the video playback system.
[0024] For example, on-chip memory has high-speed access characteristics and can be used for high-speed caching and temporary storage of data and instructions in computation. Thus, the on-chip memory in this embodiment can utilize its high-speed access characteristics to quickly read video data from the external memory corresponding to the video playback system and temporarily store it in the on-chip memory, thereby improving the response speed of video playback. Specifically, the on-chip memory can be SRAM or Flash memory, etc., and this embodiment does not limit this.
[0025] In some embodiments, on-chip memory uses SRAM.
[0026] The video decoder and the shared bus are respectively connected to the video decoder and the on-chip memory. The video decoder is used to obtain video data from the on-chip memory through the shared bus and decode it to obtain the decoded data.
[0027] For example, the video decoder restores compressed or encoded video data (such as H.264, MPEG-4, etc.) – a macroblock, a line, or a frame of pixel data (the data size can be set according to actual needs) – into a playable or displayable format (such as YUV or RGB format), obtaining decoded data. Instead of initiating write requests to off-chip memory, it sends the decoded data packet along with a "valid" signal directly to the video display controller via a pass-through bus for subsequent display or processing. Specifically, the video decoder can be an H.265 codec or a digital signal processor; this application embodiment does not limit this.
[0028] The video display controller and the pass-through bus are respectively connected to the video display controller and the video decoder. The video display controller is used to obtain the decoded data from the video decoder through the pass-through bus and display the decoded data on the display corresponding to the video playback system.
[0029] For example, the video display controller directly obtains decoded data from the video decoder via a pass-through bus. Compared to existing video decoders and display controllers that access off-chip memory via a shared system bus, which requires two complete access steps (write and read) for decoded data, this reduces the end-to-end latency from decoding completion to display output, thus meeting video playback requirements. Furthermore, this application achieves direct data connection via a hardware pass-through bus, without increasing CPU load, and improves transmission efficiency compared to existing conventional software scheduling schemes.
[0030] Understandably, in existing architectures, both the video decoder and display controller need to access off-chip memory (such as PSRAM) located outside the SoC chip via a shared bus. However, given the small size of smart wearable devices, the entire system is power-sensitive and resource-constrained. Furthermore, the off-chip memory used by smart wearable devices generally has small capacity, limited access bandwidth, and is power-sensitive. Decoded pixel data is typically transmitted on the shared bus in uncompressed form, consuming significant bandwidth and easily becoming a bottleneck for system performance and power consumption under high load, resulting in poor real-time video playback. This application's embodiment, by adding a pass-through bus to the video display controller and video decoder, avoids resource contention with the shared bus during data transmission, freeing up valuable bandwidth resources for other system tasks such as the CPU and GPU of the smart wearable device. In resource-constrained scenarios, this avoids the device becoming a system performance bottleneck under high load, while simultaneously achieving low-latency, low-power display output, improving real-time video playback and thus enhancing user experience and device battery life.
[0031] In some embodiments, the on-chip memory includes a first memory and a second memory. A shared bus is communicatively connected to the first memory and the second memory. The first memory acquires the I-frame bitstream from the video data, and the second memory acquires the P-frame bitstream from the video data. The video decoder acquires the I-frame bitstream from the first memory through the shared bus and the P-frame bitstream from the second memory through the shared bus. Then, using the pixel data of the I-frame bitstream after on-chip parallel decoding as a reference, the P-frame bitstream is decoded to obtain decoded data.
[0032] For example, refer to Figure 3 As shown, since the decoding of the P-frame stream must rely on the reference I-frame stream (or preceding stream), this embodiment first loads the I-frame stream of video data stored in external memory into the first memory, and loads the P-frame stream of video data into the second memory. Then, this embodiment keeps the I-frame stream in the first memory to avoid the delay of repeatedly loading the I-frame stream from external memory, reducing the stuttering caused by waiting for the reference frame. When the video decoder obtains the P-frame stream from the second memory for decoding, it simultaneously obtains the I-frame stream from the first memory for on-chip decoding to obtain pixel data, which serves as the decoding reference for the P-frame stream. This enables the effect of decoding and displaying simultaneously without waiting for the entire frame to be decoded, thereby improving the real-time effect of video playback.
[0033] It is understood that, in this embodiment of the application, since the pixel data corresponding to the decoded I-frame or P-frame bitstream is not saved to the off-chip memory (PSRAM) as an intermediate buffer, this embodiment of the application can only decode H264 video with I-frame reference mode in pass-through mode, and cannot decode H264 video with P-frame reference mode.
[0034] In some embodiments, the input of the video display controller is provided with a flow control interface.
[0035] For example, the flow control interface can employ a standard Ready / ValId handshake protocol or an RTS / CTS (Request to Send / Clear to Send) protocol. It uses independent physical signal lines to control the data flow. When the video display controller is ready to receive data, it sends a signal through an additional independent CTS line. The video decoder then requests send permission on an additional RTS line. This ensures reliable data transmission, prevents data loss or overflow, and achieves streaming transmission. Specifically, taking the standard handshake protocol as an example, the video decoder pulls a "valid" signal high when data is valid, and the video display controller pulls a "ready" signal high when data can be received. This application does not limit the specific implementation of the flow control port.
[0036] In some embodiments, a buffer is provided at the input of the video display controller.
[0037] For example, refer to Figure 2 As shown, an integrated FIFO buffer at the input of the video display controller decouples the bursty, non-uniform data output from the video decoder from the uniform, periodic data consumption of the display controller. This ensures a smooth data stream output to the display controller, preventing screen tearing or stuttering and maintaining the smoothness of real-time video display. The buffer depth can be set according to actual needs, sufficient to buffer several lines of pixel data to smooth data stream fluctuations caused by line blanking, field blanking, or instantaneous rate differences, further guaranteeing the continuity of real-time video display.
[0038] In some embodiments, the system further includes a path selector and off-chip memory. A shared bus is communicatively connected to the path selector, the off-chip memory, and the video display controller. The path selector is used to generate an image processing signal. The off-chip memory obtains the target image corresponding to the decoded data from the video decoder through the shared bus based on the image processing signal. The video display controller obtains the target image from the off-chip memory through the shared bus and displays the target image on the display corresponding to the video playback system.
[0039] For example, the path selector in this application embodiment can be a register of control state configured by software, and the control state can be configured by software (such as a driver), such as enabling / disabling direct path, setting the threshold of FIFO, configuring the data format of transmission (such as RGB565, RGB888), etc.; or it can be a path selection implemented by hardware circuit.
[0040] Specifically, refer to Figure 4As shown, when the video playback system needs to play video, it generates a video playback command. The path selector (not displayed) switches the path to direct path mode according to the video playback command. That is, the video decoder restores the compressed or encoded video data to a playable or displayable format, obtains the decoded data, and sends the decoded data directly to the video display controller through the pass-through bus for subsequent display or processing. When the video playback system needs complex graphics compositing (multi-layer overlay), rotation, or other scenes, it generates an image processing command. The path selector generates an image processing signal according to the image processing command. The external memory obtains the target image corresponding to the decoded data from the video decoder through the shared bus based on the image processing signal. The video display controller obtains the target image from the external memory through the shared bus and displays the target image on the monitor corresponding to the video playback system. This allows the video playback system to seamlessly switch to the traditional path, ensuring the completeness of the function.
[0041] In some embodiments, the system further includes an image processor and an off-chip memory communication connection, wherein the image processor is used to obtain decoded data from the off-chip memory and perform image processing to obtain a target image, and send the target image to the off-chip memory.
[0042] For example, the image processor reads the required decoding data from off-chip memory into a cache through a data request processor (such as a direct memory access controller). Then, the image processor performs specified image processing operations on the acquired decoding data, and after obtaining the target image, it writes the result data back to off-chip memory for storage through mechanisms such as direct memory access.
[0043] Specifically, refer to Figure 4 As shown, the off-chip memory includes a first external memory and a second external memory. The image processor reads the required decoding data from the second external memory into the cache through a data request processor (such as a direct memory access controller). Then, the image processor performs specified image processing operations on the acquired decoding data, such as column processing to improve efficiency or scaling, segmentation, etc. After obtaining the target image, the result data is written back to the second external memory for storage through mechanisms such as direct memory access. At the same time, the decoding data of the next frame stored in the first external memory is swapped to the second external memory, and the image processor continues to read and process the decoding data of the next frame in the second external memory.
[0044] In some embodiments, the video display controller includes a clock unit, which acquires the target image from off-chip memory according to a clock frequency generated by the clock unit.
[0045] For example, the video display controller reads data from the buffer according to the clock frequency generated by its inherent clock unit, and generates timing signals such as line synchronization and field synchronization, and finally drives the display to perform the display.
[0046] In some embodiments, the clock unit employs a pixel clock.
[0047] It should be noted that the embodiments of this application do not limit any improvement of the method, and the functions that the device or apparatus can achieve are only based on the hardware architecture of the device or apparatus itself.
[0048] It should also be noted that the above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A bus chip architecture, characterized in that, Used in video playback systems, including: On-chip memory, which is used to obtain input video data from the external memory corresponding to the video playback system; Shared bus; Through bus; A video decoder is provided, and the shared bus is communicatively connected to both the video decoder and the on-chip memory. The video decoder is used to obtain video data from the on-chip memory via the shared bus and decode it to obtain decoded data. A video display controller is provided, and the pass-through bus is communicatively connected to both the video display controller and the video decoder. The video display controller is used to obtain the decoded data from the video decoder via the pass-through bus and display the decoded data on the display corresponding to the video playback system.
2. The bus chip architecture according to claim 1, characterized in that, The on-chip memory includes a first memory and a second memory. The shared bus is communicatively connected to the first memory and the second memory, respectively. The first memory acquires the I-frame bitstream from the video data, and the second memory acquires the P-frame bitstream from the video data. The video decoder acquires the I-frame bitstream from the first memory through the shared bus and the P-frame bitstream from the second memory through the shared bus. Then, it uses the pixel data of the I-frame bitstream after on-chip parallel decoding as a reference to decode the P-frame bitstream to obtain the decoded data.
3. The bus chip architecture according to claim 1, characterized in that, The video display controller is equipped with a stream control interface at its input.
4. The bus chip architecture according to claim 3, characterized in that, The input terminal of the video display controller is equipped with a buffer.
5. The bus chip architecture according to claim 1, characterized in that, It also includes a path selector and off-chip memory. The shared bus is communicatively connected to the path selector, the off-chip memory, and the video display controller. The path selector is used to generate an image processing signal. The off-chip memory obtains the target image corresponding to the decoded data from the video decoder through the shared bus based on the image processing signal. The video display controller obtains the target image from the off-chip memory through the shared bus and displays the target image on the display.
6. The bus chip architecture according to claim 5, characterized in that, It also includes an image processor, which is communicatively connected to the off-chip memory. The image processor is used to obtain the decoded data from the off-chip memory, perform image processing to obtain the target image, and send the target image to the off-chip memory.
7. The bus chip architecture according to claim 5, characterized in that, The video display controller includes a clock unit, wherein the video display controller is used to acquire the target image from the off-chip memory according to the clock frequency generated by the clock unit.
8. The bus chip architecture according to claim 7, characterized in that, The clock unit uses a pixel clock.
9. The bus chip architecture according to claim 1, characterized in that, Both the shared bus and the pass-through bus use the AXI bus.
10. The bus chip architecture according to claim 1, characterized in that, The on-chip memory uses SRAM.
