Check patentability & draft patents in minutes with Patsnap Eureka AI!

APB bridge for realizing synchronous mode, APB bridge for realizing asynchronous mode and control method thereof

An APB bridge and asynchronous mode technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems that the offset cannot be clearly determined, the phase relationship is difficult to determine, and sampling errors, etc., to shorten the SOC design, speed up the project progress, The effect of enhancing code reusability

Active Publication Date: 2021-08-03
TIH MICROELECTRONIC TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the traditional design scheme: in the synchronous mode of AHB clock and APB clock, when the frequency is multiplied, the AHB clock and APB clock generally use a dedicated timing synchronization interface signal (clk_en) to synchronize the interface timing. Multiple simulations have found that the AHB clock and the APB clock The APB clock is in the pre-simulation, that is, during the pre-simulation simulation, such as figure 1 As shown, because the balance adjustment of the clock tree is not made, it will cause the phase offset problem between the AHB clock (hclk in the figure) and the APB clock (pclk in the figure) and clk_en. The phase of the clock pclk in the figure is backward compared to the clock hclk Offset, the phase of clk_en is also shifted backward relative to hclk, the offset of pclk and clk_en cannot be clearly determined in the pre-simulation of the previous simulation
That is, when the AHB address haddr is sampled by the APB clock when clk_en is high, the phase relationship between the APB and the AHB clock is difficult to determine in the pre-simulation stage, and the APB may have a relatively large offset relative to the AHB clock, resulting in the sampled AHB The bus address (haddr) is the data after the change, then a sampling error will occur
For this kind of problem, it is necessary to manually add a delay solution to the synthesized netlist every time. This method needs to manually modify the new synthesized netlist every time, which is too cumbersome and error-prone

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • APB bridge for realizing synchronous mode, APB bridge for realizing asynchronous mode and control method thereof
  • APB bridge for realizing synchronous mode, APB bridge for realizing asynchronous mode and control method thereof
  • APB bridge for realizing synchronous mode, APB bridge for realizing asynchronous mode and control method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] In the technical solutions disclosed in one or more embodiments, such as figure 2 As shown, an APB bridge that implements synchronous mode, the architecture diagram is as follows figure 2 As shown, it includes an AHB buffer area, an APB buffer area, a control logic unit and a state machine; the AHB buffer area is connected to the AHB bus for realizing storing data transmitted from the AHB bus, and the AHB buffer area is connected to the APB buffer area, and the control logic The units are respectively connected to the APB buffer area and the state machine, and the APB buffer area is connected to the APB bus for data interaction; the control logic unit is used to control the data storage and reading of the data in the AHB buffer area and the APB buffer area according to the same control clock .

[0033] The AHB buffer area is used to store the data transmitted from the AHB bus. The data transmitted from the AHB bus includes the write / read bus address (haddr) transmitt...

Embodiment 2

[0054] In the technical solutions disclosed in one or more embodiments, such as Figure 5 As shown, the present embodiment provides a kind of APB bridge that realizes asynchronous mode, comprises asynchronous prefetch FIFO, selector, state machine and APB cache area; Described asynchronous prefetch FIFO is connected with state machine through selector, and described state machine Connect to the APB slave through the set interface, and the asynchronous prefetch FIFO is connected to the AHB bus and the APB buffer respectively; the state machine is used to control the data reading and writing of the APB slave connected to the APB bus according to the data in the APB buffer.

[0055] The asynchronous prefetch FIFO is configured to implement commands and data sent from the AHB clock domain to the APB clock domain synchronously. It can be set, when the asynchronous prefetch FIFO write command and read command are valid, the data is valid at the time, which speeds up the transmission...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This disclosure proposes an APB bridge that realizes synchronous mode, an APB bridge that realizes asynchronous mode, and its control method. The APB bridge in synchronous mode sets AHB buffer area and APB buffer area, and sets corresponding control logic to effectively avoid In the pre-simulation process of the traditional design, sampling errors will occur when the APB samples the AHB clock domain, which increases the adaptability of the APB bridge. The APB bridge that realizes the asynchronous mode sets the asynchronous prefetch FIFO, and the write command and write data transmission of the APB bridge transmits the data through the asynchronous prefetch FIFO, and the asynchronous prefetch FIFO stores and outputs the data in the data independently according to different clocks , to transmit the write command and write data from the AHB bus terminal to the APB bus terminal; no manual modification of the new netlist is required, and the synchronous or asynchronous transmission of data is realized through the control logic inside the APB bridge, realizing the transfer from the wide bus AHB bus to the APB bus terminal. The control signal and data conversion of the narrow bus APB bus can improve the code reuse rate and speed up the SOC design process.

Description

technical field [0001] The present disclosure relates to the related technical field of APB bridges, and in particular, relates to an APB bridge realizing a synchronous mode, an APB bridge realizing an asynchronous mode and a control method thereof. Background technique [0002] The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. [0003] In the AMBA (Advanced Microcontroller Bus Architecture, translated as Advanced Microcontroller Bus Architecture) on-chip bus protocol specification, the APB bridge is an important hub connecting the AHB high-speed bus and the APB bus, and plays a role in the data transmission between the master device and the peripheral device. Crucial role. The APB bridge is the only master device on the APB bus, and it is also one of the many slave devices on the AHB bus. The APB bridge meets the AHB and APB interface protocols, and it provides a command / dat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/38G06F13/40
CPCG06F13/387G06F13/4059
Inventor 刘红军张洪柳郭勇
Owner TIH MICROELECTRONIC TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More