The invention discloses an AHB (Advanced High-performance
Bus) cross-
clock domain
data synchronization method based on a user-defined
handshake protocol, and particularly relates to the technical field of AHBs, which comprises the steps of designing the user-defined
handshake protocol, setting an AHB conversion bridge, setting an
asynchronous FIFO (First In First Out)
synchronous circuit, setting a
handshake protocol conversion bridge and finishing cross-
clock domain synchronization of a request path and a response path. Through a request and response full handshake mechanism, any frequency combination of a source
clock domain and a target clock domain,
data synchronization is carried out between any clock domains,
time sequence conflicts caused by superposition of multiple requests are avoided, a response channel READY
signal is fixed to be high level, no response blocking scene exists, the
deadlock problem of an existing
pulse synchronization scheme is thoroughly solved, and the
time sequence conflicts caused by superposition of multiple requests are avoided. The characteristic that the in-transit request of a handshake protocol is smaller than or equal to 1 is utilized, the depth needed by the
asynchronous FIFO circuit and information between different clock domains are optimized, the AHB
bus conversion bridge optimizes the
time sequence through scene-based conversion logic, requests of any
burst transmission type are achieved, and the synchronization and transmission efficiency is improved.