Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spring 2006 1 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Advanced Computer Architecture Lecture 5 Slave bus agent ROM example.

Similar presentations


Presentation on theme: "Spring 2006 1 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Advanced Computer Architecture Lecture 5 Slave bus agent ROM example."— Presentation transcript:

1 Spring 2006 1 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Advanced Computer Architecture Lecture 5 Slave bus agent ROM example I/O write port example

2 Spring 2006 2 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Slave block diagram Decode Data Source Data Sink Tri State A C D Ack LS138LS244 Device

3 Spring 2006 3 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Decoding Inputs –Address bus –Control bus Fully decoded: unique address/function found Implementation (LS138) –Two levels: address, control –Use output of first level to enable second

4 Spring 2006 4 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Decoding block diagram LS138 A C Correct address Correct address and function First and second level may be reversed

5 Spring 2006 5 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Decoding for I/O write to 0xf

6 Spring 2006 6 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM block diagram Decode Data Source Tri State A C D Ack LS138LS244 ROM

7 Spring 2006 7 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM example requirements Address range 0x00 – 0x0f, 16 words CPU executes read memory instructions Data of ROM (f, e, d, …, 2, 1, 0) One master: Breq = Bgnt No interrupts: Int = gnd

8 Spring 2006 8 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM system schematic

9 Spring 2006 9 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM memory schematic ?

10 Spring 2006 10 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM data files Program ROM contents

11 Spring 2006 11 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM timing CPU driving A, C ROM driving D

12 Spring 2006 12 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM timing, continued. CPU driving A, C ROM driving D

13 Spring 2006 13 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Changes for RAM Address bus: same Control bus: same Decoding: must look for memory read and memory write Data bus: connected to both RAM data in and data out ACK: same

14 Spring 2006 14 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering I/O write port block diagram DecodeTri State A C D Ack LS138LS244 Octal D’s Data Sink V

15 Spring 2006 15 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering I/O write port requirements Port address 0x10 CPU executes I/O write instructions Data: 1, 2, 4, 8, 10, 20, 40, 80 One master: Breq = Bgnt No interrupts: Int = gnd

16 Spring 2006 16 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering I/O write port system schematic

17 Spring 2006 17 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Write port schematic ?

18 Spring 2006 18 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Write port data files Program

19 Spring 2006 19 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Write port timing Write 0x01 to Port 10Write 0x02 to Port 10

20 Spring 2006 20 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Changes for I/O read Address bus: same Control bus: same Decoding: look for I/O read instruction Data bus: must drive with tri-state devices ACK: same

21 Spring 2006 21 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering

22 Spring 2006 22 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering ROM memory schematic ?

23 Spring 2006 23 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Write port schematic ?


Download ppt "Spring 2006 1 EE 437 Lillevik 437s06-l5 University of Portland School of Engineering Advanced Computer Architecture Lecture 5 Slave bus agent ROM example."

Similar presentations


Ads by Google