12.07.2015 Views

OCP Specification 3.1 - OCP-IP

OCP Specification 3.1 - OCP-IP

OCP Specification 3.1 - OCP-IP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Signals and Encoding 15DRAFTMAddr is a byte address that must be aligned to the <strong>OCP</strong> word size(data_wdth). The parameter data_wdth defines a minimum addr_wdthvalue that is based on the data bus byte width, and is defined as:min_addr_wdth = max(1, floor(log 2 (data_wdth)) - 2)If the <strong>OCP</strong> word size is larger than a single byte, the aggregate isaddressed at the <strong>OCP</strong> word-aligned address and the lowest order addressbits are hardwired to 0. If the <strong>OCP</strong> word size is not a power-of-two, theaddress is the same as it would be for an <strong>OCP</strong> interface with a word sizeequal to the next larger power-of-two.MCmdTransfer command. This signal indicates the type of <strong>OCP</strong> transfer themaster is requesting. Each non-idle command is either a read or writetype request, depending on the direction of data flow. Commands areencoded as follows.Table 2Command EncodingMCmd[2:0] Command Mnemonic Request Type0 0 0 Idle IDLE (none)0 0 1 Write WR write0 1 0 Read RD read0 1 1 ReadEx RDEX read1 0 0 ReadLinked RDL read1 0 1 WriteNonPost WRNP write1 1 0 WriteConditional WRC write1 1 1 Broadcast BCST writeThe set of allowable commands can be limited using the write_enable,read_enable, readex_enable, writenonpost_enable, rdlwrc_enable,and broadcast_enable parameters as described in Section 4.10.1 onpage 63.MDataWrite data. This field carries the write data from the master to the slave.The field is configured into the <strong>OCP</strong> using the mdata parameter and itswidth is configured using the data_wdth parameter. The width is notrestricted to multiples of 8.MDataValidWrite data valid. When set to 1, this bit indicates that the data on theMData field is valid. Use the datahandshake parameter to configure thisfield into the <strong>OCP</strong>.MRespAcceptMaster response accept. The master indicates that it accepts the currentresponse from the slave with a value of 1 on the MRespAccept signal. Usethe respaccept parameter to enable this field into the <strong>OCP</strong>.<strong>OCP</strong>-<strong>IP</strong> Confidential May 14, 2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!