Peripheral Interface: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Mazamars312 (talk | contribs) (Start of this page) |
Mazamars312 (talk | contribs) (Some PI data) |
||
Line 8: | Line 8: | ||
!Discription |
!Discription |
||
|- |
|- |
||
|PI_DRAM_ADDR_REG |
|PI_DRAM_ADDR_REG [23:0] |
||
|32'h0460_0000 |
|32'h0460_0000 |
||
|R/W |
|R/W |
||
|This is the starting address in RDRAM that the PI DMA is to read or write from. This is a 16bit (2Byte) Aligned address |
|This is the starting address in RDRAM that the PI DMA is to read or write from. This is a 16bit (2Byte) Aligned address |
||
|- |
|- |
||
|PI_CART_ADDR_REG |
|PI_CART_ADDR_REG [31:0] |
||
|32'h0460_0004 |
|32'h0460_0004 |
||
|R/W |
|R/W |
||
|This is the starting address in ROM that the PI DMA is to read or write from. This is a 16bit (2Byte) Aligned address |
|This is the starting address in ROM that the PI DMA is to read or write from. This is a 16bit (2Byte) Aligned address |
||
|- |
|- |
||
|PI_RD_LEN_REG |
|PI_RD_LEN_REG [23:0] |
||
|32'h0460_0008 |
|32'h0460_0008 |
||
|R/W |
|R/W |
||
|The is the amount of bytes to be transferred from RDRAM to the ROM location (this has to be a value in a multiple of 16bits (2 Bytes)) |
|The is the amount of bytes to be transferred from RDRAM to the ROM location (this has to be a value in a multiple of 16bits (2 Bytes)) |
||
|- |
|- |
||
|PI_WR_LEN_REG |
|PI_WR_LEN_REG [23:0] |
||
|32'h0460_000C |
|32'h0460_000C |
||
|R/W |
|R/W |
||
Line 48: | Line 48: | ||
|PI_BSD_DOM1_LAT_REG |
|PI_BSD_DOM1_LAT_REG |
||
PI_BSD_DOM2_LAT_REG |
PI_BSD_DOM2_LAT_REG [7:0] |
||
|32'h0460_0014 |
|32'h0460_0014 |
||
Line 60: | Line 60: | ||
|PI_BSD_DOM1_PWD_REG |
|PI_BSD_DOM1_PWD_REG |
||
PI_BSD_DOM2_PWD_REG |
PI_BSD_DOM2_PWD_REG |
||
[7:0] |
|||
|32'h0460_0018 |
|32'h0460_0018 |
||
32'h0460_0028 |
32'h0460_0028 |
||
Line 70: | Line 72: | ||
|PI_BSD_DOM1_PGS_REG |
|PI_BSD_DOM1_PGS_REG |
||
PI_BSD_DOM2_PGS_REG |
PI_BSD_DOM2_PGS_REG |
||
[7:0] |
|||
|32'h0460_001C |
|32'h0460_001C |
||
32'h0460_002C |
32'h0460_002C |
||
Line 77: | Line 81: | ||
|PI_BSD_DOM1_RLS_REG |
|PI_BSD_DOM1_RLS_REG |
||
PI_BSD_DOM2_RLS_REG |
PI_BSD_DOM2_RLS_REG |
||
[7:0] |
|||
|32'h0460_0020 |
|32'h0460_0020 |
||
32'h0460_0030 |
32'h0460_0030 |
||
Line 82: | Line 88: | ||
| |
| |
||
|} |
|} |
||
=== PI Interface Process === |
|||
=== Aligned DMA Transfer === |
=== Aligned DMA Transfer === |
||
An aligned DMA transfer is when the PI_DRAM_ADDR_REG is set to a 64bit (8byte) aligned address |
An aligned DMA transfer is when the PI_DRAM_ADDR_REG is set to a 64bit (8byte) aligned address. The PI_CART_ADDR_REG can be any 16bit value |