Unlock instant, AI-driven research and patent intelligence for your innovation.

APB bus cross-clock field access circuit and method

An APB bus, cross-clock domain technology, applied in the direction of electrical digital data processing, generating/distributing signals, instruments, etc., can solve problems such as increasing the risk of system errors

Inactive Publication Date: 2012-01-11
WUXI ZGMICRO ELECTRONICS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method needs to ensure that the configuration of the registers is completed at one time each time, and if the processor wants to detect the operating status of the module, it may read an uncertain status, which increases the potential error risk of the system

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 bus cross-clock field access circuit and method
  • APB bus cross-clock field access circuit and method
  • APB bus cross-clock field access circuit and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] image 3 is an example block diagram of a System-on-Chip (SoC).

[0079] Such as image 3 As shown, the ARM processor accesses high-speed devices (such as memory, DMA) through high-speed protocols (AHB / ASB). Specifically, through the APB bus bridge, the APB3.0 protocol is used to access the registers of the modules. The accessed modules include UART, timer, keyboard, programming input and output PIO, etc. The AHB and APB buses use the same clock, and the accessed modules use their own clocks.

[0080] Figure 4 is a block diagram of APB cross-clock access according to the present invention.

[0081] The access method of the present invention is realized through cooperation between the control terminal (master) of the APB3.0 and the accessed terminal (slave) where the control register of the module is located. The control terminal of APB3.0 issues the access request initiated by the processor to the accessed terminal.

[0082] Such as Figure 4 As shown, the left ...

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

The present invention relates to an APB cross-clock domain access circuit, which comprises an APB bridge, a control register and a clock synchronous circuit. The APB bridge serves as a control terminal of the APB and works in the APB clock domain; the control register serves as an accessed terminal of the APB and works in the clock domain of the accessed terminal; the clock synchronization circuit is used for synchronizing chip selection signals (psel) and enabling signals (penable) of the APB clock domain into the clock domain of the accessed terminal and outputting the signals to the control register as control signals (msel); and then the control signals (msel) are synchronized into the APB clock domain and transmitted backwards to the APB bridge as handshaking signal (pready). With the APB bus and the register in the module arranged at the cross-clock domain and the combination with the APB 3.0 access handshaking method, the present invention ensures that the clock of the control register of the module is arranged in the module, eliminates the risk that the register in the module and the inner state of the register are unstable, and simultaneously reduces the relevant hardwareoverhead and access delay.

Description

technical field [0001] The invention relates to a circuit and a method for cross-clock domain access of an APB bus. Background technique [0002] There are multiple functional modules in a System-on-Chip (SoC), such as processors and various hardware modules. The processor controls the operation of the hardware modules by modifying the internal control registers of each hardware module. Meanwhile, in order to reduce power consumption, various hardware modules and processors may operate at different clock frequencies. For example, computing-intensive modules need to work on high-frequency clocks, while modules such as port transmission may work on lower clock frequencies. Therefore, when the processor configures the control registers inside the module, it needs to consider the behavior across clock domains. Traditionally, the processor accesses various registers inside the module through some general-purpose bus, such as the APB bus. [0003] figure 1 It is a schematic d...

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): G06F1/12G06F13/42
Inventor 林川
Owner WUXI ZGMICRO ELECTRONICS CO LTD