12.07.2015 Views

SuperH (SH) 64-Bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-Bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-Bit RISC Series SH-5 System Architecture, Volume ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRELIMINARY DATADMAC <strong>SuperH</strong>yway transactions 914.5 DMAC <strong>SuperH</strong>yway transactionsThis section describes the different types of transactions that involve the DMACmodule. In particular the treatment of requests received and the types of requeststhat are generated in response to its programming.4.5.1 DMAC as a request targetThe DMAC supports only quadword (that is, <strong>64</strong>-bit) load and store requests to theregisters listed in Table 17 on page <strong>64</strong>. All other accesses will generate an errorresponse and set the appropriate bit in the VCR register.• If the request is of any other type than a load8 or store8 the BAD_OPC field ofthe DMAC.VCR will be set and an error response will be sent to the initiator. A listof the operations available on the <strong>SuperH</strong>yway are given in Table 2 on page 17• If the request is to an address mapped to this module but not listed in Table 17on page <strong>64</strong> then the BAD_ADDR field of the DMAC.VCR will be set and an errorresponse will be sent to the initiator. The range of addresses allocated to thismodule is specified in the system address map given in Table 4 on page 26.4.5.2 DMAC as a request initiatorThe DMAC initiates requests only as a result of enabled DMA channels. Table 29 onpage 91 shows the correspondence between the transfer size field (which is log 2 ofthe transfer size in bytes) and the <strong>SuperH</strong>yway transaction used to implement thetransfer. The largest transaction type able to be used for a transfer is usedexclusively, so for example, a DMA transfer configured with a TRANSFER.SIZE fieldof 4 will be performed only using load16 and store16 transactions on the<strong>SuperH</strong>yway.DMAC.CTRL.TRANSFER_SIZE<strong>SH</strong>WY transaction usedD R A FT0 Load8/Store8(with 1 bit set in the mask)1 Load8/Store8(with 2 bits set in the mask)2 Load8/Store8(with 4 bits set in the mask)Table 29: DMAC <strong>SH</strong>WY transactions05-SA-10001 v1.0<strong>SuperH</strong>, Inc.<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 1: <strong>System</strong>

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

Saved successfully!

Ooh no, something went wrong!