CPE/EE 421/521 Microcomputers 1 U A H U A H U A H CPE/EE 421 Microcomputers THE 68000 CPU HARDWARE MODEL Instructor: Dr Aleksandar Milenkovic Lecture Notes S21 CPE/EE 421/521 Microcomputers 2 U A H U A H U A H THE 68000 CPU HARDWARE MODEL Chapter 4 68000 interface Timing diagram Minimal configuration using the 68000 CPE/EE 421/521 Microcomputers 3 U A H U A H U A H Figure 4.14 A 68000 Read Cycle CPE/EE 421/521 Microcomputers 4 U A H U A H U A H 3t cyc =t CLAV +t acc +t DICL
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Alexander Milenkovich 1
CPE/EE 421/521 Microcomputers 1
U
A
HU
A
H
U
A
H
CPE/EE 421Microcomputers
THE 68000 CPU HARDWARE MODEL
Instructor: Dr Aleksandar MilenkovicLecture Notes
S21
CPE/EE 421/521 Microcomputers 2
U
A
HU
A
H
U
A
H
THE 68000 CPU HARDWARE MODELChapter 4
68000 interface
Timing diagram
Minimal configuration using the 68000
CPE/EE 421/521 Microcomputers 3
U
A
HU
A
H
U
A
H
Figure 4.14
A 68000 Read Cycle
CPE/EE 421/521 Microcomputers 4
U
A
HU
A
H
U
A
H
3 tcyc = tCLAV + tacc + tDICL
Alexander Milenkovich 2
CPE/EE 421/521 Microcomputers 5
U
A
HU
A
H
U
A
H
Timing Example
68000 clock 8 MHz tCYC = 125 ns
68000 CPU tCLAV = 70 ns
68000 CPU tDICL = 15 ns
What is the minimum tacc?
3 tCYC = tCLAV + tacc + tDICL
375 = 70 + tacc + 15
tacc = 290 ns
CPE/EE 421/521 Microcomputers 6
U
A
HU
A
H
U
A
H
Figure 4.15
Extended Read Cycle
DTACK* did not go low at least 20ns before the falling edge of state S4
Designer has to provide logic to control DTACK*
CPE/EE 421/521 Microcomputers 7
U
A
HU
A
H
U
A
H
Figure 4.18
Memory Timing Diagram
The 6116 static memory component2K x 8bit memory – byte-oriented!Two 6116’s configured in parallel to allow word accessesEleven address inputs
CPE/EE 421/521 Microcomputers 8
U
A
HU
A
H
U
A
H
Figure 4.17
Assumptions:R/W* is high for the duration of the read cycleOE* is low
Bus Arbitration ControlWhen 68000 controls the address and data buses, we call it the bus master
The 68000 may allow another 68000 or DMA controller to take control over buses
In the system with only one bus master, 68000 would have permanent control of the address and data buses
CPE/EE 421/521 Microcomputers 22
U
A
HU
A
H
U
A
HBus Arbitration Control, cont’d
68000 must respond to BR* request (it cannot be masked)
Assertion of BG* indicates that the bus will be given up at the end of present bus cycle
Requesting device waits until AS*, DTACK*, and BGACK* have been negated, and only then asserts its own BGACK* output
Old master negates its BG*, and BR* can be asserted by another potential master
CPE/EE 421/521 Microcomputers 23
U
A
HU
A
H
U
A
H
Figure 4.27a
Data Bus Contention in Microcomputers
Situation where more than one device attempts to drive the bus simultaneously
Example: Two memory modules, M1 selected during read cycle 1, M2 selected during read cycle 2
Assumption: M1 has data bus drivers with relatively long turn-off timesM2 has data bus drivers with relatively short turn-on times
CPE/EE 421/521 Microcomputers 24
U
A
HU
A
H
U
A
H
Long turn-off time
Data Bus Contention in Microcomputers, cont’d
Short turn-on time
Alexander Milenkovich 7
CPE/EE 421/521 Microcomputers 25
U
A
HU
A
H
U
A
HBus Contention and Data Bus Transceivers
Data bus transceiver – consists of a transmitter (driver) and a receiverDriver – tristate output, can be driven high, low, or internally disconnected form the rest of the circuitTwo control inputs: Enable (active low) and DIR (direction)Dynamic data bus contention