29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

320 Chapter 24<br />

memory allocators <strong>for</strong> dynamic multi-tasked applications. Both allocators<br />

reduce the energy consumption compared with the best known approach so<br />

far.<br />

2. PLATFORM AND SDRAM ENERGY MODEL<br />

On our plat<strong>for</strong>m, each processor is connected to a local memory and interacts<br />

with shared off-chip SDRAM modules. The SDRAMs are present on the<br />

plat<strong>for</strong>m because their energy cost per bit to store large data structures is lower<br />

than of SRAMs. They are used to store large infrequently accessed data<br />

structures. As a consequence, they can be shared among processors to reduce<br />

the static energy cost without a large per<strong>for</strong>mance penalty.<br />

A simplified view of a typical multi-banked SDRAM architecture is shown<br />

in Figure 24-1. Fetching or storing data in an SDRAM involves three memory<br />

operations. An activation operation selects the appropriate bank and moves a<br />

page/row to the page buffer of the corresponding bank. After a page is opened,<br />

a read/write operation moves data to/from the output pins of the SDRAM.<br />

Only one bank can use the output pins at the time. When the next read/write<br />

accesses hit in the same page, the memory controller does not need to activate<br />

the page again (a page hit). However, when another page is nee<strong>de</strong>d (a page<br />

miss), pre-charging the bank is nee<strong>de</strong>d first. Only thereafter the new page<br />

can be activated and the data can be read.<br />

SDRAMs nowadays support several energy states: standby mo<strong>de</strong> (STBY),<br />

clock-suspend mo<strong>de</strong> (CS) and power down (PWDN). We mo<strong>de</strong>l the timing<br />

behavior of the SDRAM memory with a state-machine similar to [10]. The<br />

timing and energy parameters of the different state transitions have been<br />

<strong>de</strong>rived from Micron 64 Mb mobile SDRAM [3]. The energy consumption<br />

of the SDRAM is computed with the following <strong>for</strong>mula:

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

Saved successfully!

Ooh no, something went wrong!