17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

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.

Software Considerations<br />

Notes 1. Use tRAS from the SDRAM block that has the slowest<br />

tRAS.<br />

2. tRAS_CLK is tRAS expressed in CLK periods.<br />

3. Use tRP from the SDRAM block that has the slowest tRP.<br />

4. tRP_CLK is tRP expressed in CLK periods.<br />

5. Use tRCD from the SDRAM block that has the slowest<br />

tRCD.<br />

6. tRCD_CLK is tRCD expressed in CLK periods.<br />

7. Use tRC from the SDRAM block that has the slowest tRC.<br />

8. tRC_CLK is tRC expressed in CLK periods.<br />

9. Remember that CLK is the Hawk’s 60x clock input pin.<br />

5. Determine the size for each block that is present.<br />

(Do not actually program the Hawk’s size bits at this point. You use<br />

this information to program them later.)<br />

Each block’s size can be determined using the following algorithm:<br />

a. Calculate the number of rows in each device using SPD byte 3.<br />

If the number of rows is ROWS and the value in SPD byte 3 is R,<br />

then ROWS=2 R .<br />

b. Calculate the number of columns in each device using SPD byte<br />

4. If the number of columns is COLUMNS and the value in SPD<br />

byte 4 is C, then<br />

COLUMNS=2 C .<br />

c. Calculate the total number of addresses within each device. If the<br />

total number of addresses in a device is A, then<br />

A=ROWS X COLUMNS<br />

d. Calculate the total number of locations in the block using the<br />

results of step 3 and SPD byte 17. If the total number of locations<br />

in the block is L, and the value in byte 17 is 4, then<br />

L = A x 4<br />

or<br />

L = 2 R x 2 C x 4<br />

(Note that the Hawk only works if byte 17 is 4).<br />

e. Obtain the primary device width from SPD byte 13.<br />

f. Determine the size bits based on the results of steps d and e using<br />

the table on the next page.<br />

http://www.motorola.com/computer/literature 3-81<br />

3

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

Saved successfully!

Ooh no, something went wrong!