EE - 13-113-1Memory and CachesSee also cache study...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 13-113-1Memory and CachesSee also cache study guide.ContentsSupplement to material in section 5.2.Includes notation presented in class.13-1EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-113-213-2Memory Basics and TerminologyIn essence a memory system is quite simple:CPU
Address
Data in
Data Out
Memory
Address
Retrieve or store data at specified effective address.In practice its complexity can rival that of the processor.13-2EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-213-313-3TerminologyAddress Space:The set of addresses defined in the ISA.Address Space Size:The (maximum) number of bits needed to represent an address.Symbol used in class:a.Typical address space sizes:DLX, MIPS32, Sun SPARC V8, IA-32, and other older ISAs,a= 32,Itanium, MIPS64, DEC Alpha, Sun SPARC V9,a= 64.13-3EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-313-413-4Typical Address SpacesReal Address Space:a.k.a.Physical Address SpaceThe set of addresses used by main memory.Real Address:An address in a real address space.Given a real address, can open up computer’s case and point to data.Virtual Address Space:The set of addresses usually used by programs.Physical location used for a virtual address can change as a program runs.Given a virtual address, cannot point to a chip and say data is there......since location of data is not pre-determined and location can change.13-4EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-413-513-5Usage of Virtual AddressInstructions use virtual addresses.Memory devices use physical addresses.Hardware between CPU and memory translates from virtual to physical address.Depending on design, cache uses virtual or physical addresses.Each process (running program) gets its own virtual address space.Processor can switch between virtual and real addresses.Only real addresses used in this set of notes.13-5EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-513-613-6TerminologyCharacter:What a memory address refers to; defined by the ISA.Number of bits in a character denotedcIn most systems,c= 8 bits and called a byte.13-6EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-613-713-7Bus Width:The number of bits brought into the processor in a single memory access.Symbol used in classw.The number of bits accessed by an instruction may be less, the other bits are ignored.This is an implementation feature.In any reasonable systemwis a multiple ofc.Typical values,w= 64 bits.13-7EE 4720 Lecture Transparency. Formatted 9:11, 6 May 2011 from lsli13.13-713-813-8Example! Data in memory:! 0x1000:5,0x1001: 6,0x1002: 7,0x1003: 8....
View Full Document

This note was uploaded on 07/18/2011 for the course EE 4720 taught by Professor Staff during the Spring '08 term at LSU.

Page1 / 41

EE - 13-113-1Memory and CachesSee also cache study...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online