Patent ID: 7895381

Claim:
A data accessing system for bridging a first master device and a second master device to a first slave device and a second slave device, wherein the first master device and the first slave device can process N bit data each process cycle, and the second master device and the second slave device can process M bit data each process cycle, where N is smaller than M, comprising: a register; a first multiplexer, for outputting one of outputs from the first master device and the second master device to both the first slave device and the second slave device, according to a controlling signal; a second multiplexer, for outputting one of outputs from the first slave device and the second slave device to both the first master device and the second master device, according to the controlling signal; a control unit, for generating the control signal and for performing in a first mode, if the first master device generates a first data and a second data to the second slave device in order, including: extracting part of the first data, controlling the register to register the extracted part of the first data, merging the registered part of the first data and the second data to generate a merged data as the output of the first multiplexer; and writing the merged data to the second slave device; wherein the control unit further performs in a second mode, if the first master device reads a data from the second slave device, including: extracting part of the data, controlling the register to register part of the data, controlling the second multiplexer to output the un-registered part of the data and registered part of the data in order; and controlling the first master device to read un-registered part of the data and the registered part of the data in order; where the control unit controls one of the first master device and the second master device to receive output from the second multiplexer, and controls the other one of the first master device and the second master device to reject the output from the multiplexer, while in the second mode.