Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Two Memory Architecture - Microprocessors - Slides | ECE 332, Quizzes of Microprocessors

Material Type: Quiz; Class: Microprocessors; Subject: Electrical & Computer Engineer; University: Boise State University; Term: Spring 2007;

Typology: Quizzes

Pre 2010

Uploaded on 09/17/2009

koofers-user-463
koofers-user-463 🇺🇸

10 documents

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
ECE332, Week 3,
Lecture 4 & 5
September 10 & 12, 2007
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Two Memory Architecture - Microprocessors - Slides | ECE 332 and more Quizzes Microprocessors in PDF only on Docsity!

ECE332, Week 3,

Lecture 4 & 5

September 10 & 12, 2007

 Topics

Two memory architecture

A few more words on cache

Instruction execution sequence

Superscalar and VLIW

Address modes

Programmer’s View

Debugging technique

Processor selection

Stack

Quiz?

Two Memory Architectures

Processor

Program memory

Data memory

Processor

Memory

(program and data)

Harvard

Princeton

Princeton

wiresFewer memory

Harvard

accessdata memoryprogram andSimultaneous

Is Nios II Harvard or Princeton?

Pipelining Instruction Execution Sequence and

1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8

1 2 3 4 5 6 7 8

Fetch-instr.

Decode

Fetch ops.

Execute

Store res.

1 2 3 4 5 6 7 8

1 2 3 4 5 6 7 8

1 2 3 4 5 6 7 8

1 2 3 4 5 6 7 8

1 2 3 4 5 6 7 8

Dry Wash

Time

Non-pipelined

Pipelined

Time

Time

Pipelined

pipelined instruction execution

non-pipelined dish cleaning

pipelined dish cleaning

Instruction 1

Nios II Pipeline Stages

No pipeline - one instruction at a time

 Programmer’s View

of architectureTraditional programmer doesn’t have detailed understanding



Instead, know what instructions can be executed



To be a good computer engineer, you need to know both!

Two levels of programming:



Assembly level



Structured languages (C, C++, Java, etc.)

Most development today done using structured languages



But, some assembly level programming may still be necessary



controls (drives) another deviceDrivers: portion of program that communicates with and/or



manipulationOften have detailed timing considerations, extensive bit



Assembly level may be best for these

 Programmer Considerations

 Program and data memory space

 Embedded processors often very limited

e.g., 64 Kbytes program, 256 bytes of RAM (expandable)

 Registers: How many are there?

Only a direct concern for assembly-level programmers

 I/O

How communicate with external signals?

Interrupts

Assembler, Linker, ELF, and SREC