| CPC G06F 13/126 (2013.01) [G06F 12/0238 (2013.01); G06F 13/4221 (2013.01)] | 11 Claims |

|
1. A method for writing data from an Advanced extensible Interface (AXI) bus to an On-chip Peripheral Bus (OPB), comprising:
receiving AXI write data sent by the AXI bus;
storing the AXI write data into an AXI write cache;
acquiring write attribute information of the AXI write data;
converting the write attribute information and the AXI write data from being valid in two successive cycles to being valid in a same cycle to obtain OPB write data; and
exporting the OPB write data from the AXI write cache to the OPB;
the method further comprises:
receiving an OPB write response signal returned by the OPB;
storing the OPB write response signal into a OPB cache;
preforming validity statistics on each OPB write response signal in the OPB cache to obtain a validity statistical result; and
obtaining the AXI write response signal by calculation according to the validity statistical result;
exporting the AXI write response signal from the OPB cache to the AXI bus.
|