Download presentation
Presentation is loading. Please wait.
Published byKerry Warren Modified over 9 years ago
1
9/20/6Lecture 3 - Instruction Set - Al1 68000 Hardware interface (part 2)
2
9/20/6Lecture 3 - Instruction Set - Al2 The 68000 Hardware Architecture - 2 Have gone over the all the pins except those dealing with memory. Memory and Peripheral Interface Synchronous Bus Control Asynchronous Bus Control
3
9/20/6Lecture 3 - Instruction Set - Al3 Memory and Peripheral Interface These pins take up 44 of the 64 pins Allow for reading from and writing to main memory. The 68000 is a memory mapped architecture Memory Mapped Architecture All input and output from the processor is to a single address space shared by memory and I/O ports. You need a memory map to know where the various activities are located.
4
9/20/6Lecture 3 - Instruction Set - Al4 Other memory interfaces Separate memory and I/O address spaces Requires a few pins to differentiate when memory and when input/output is occurring as the address and data line are usually common. There are separate control pins for memory access and I/O access. Requires separate instructions for memory access and input/output to a I/O port. Common to Intel architectures.
5
9/20/6Lecture 3 - Instruction Set - Al5 68000 Memory & Peripheral Pins Address Bus 23 pins – A 01 to A 23 Address space - 2 23 which is how many gigs? 16 bits = 64K1G = 2 30 20 bits = 1M 23 bits = ?? Address bus value indicates which 16-bit word of memory is being addressed
6
9/20/6Lecture 3 - Instruction Set - Al6 Data Bus Data Bus 16-bits wide Bi-directional Pins on processor are tristate Word operation – all lines active Byte operation – either the high order bits or the low order bits active depending on the byte being transferred (as indicated by UDS* or LDS*)
7
9/20/6Lecture 3 - Instruction Set - Al7 AS* - Address Strobe Indicates that the address bus lines are valid R/W Read/Write(bar) Indicates the direction of the transfer Read – 1 – processor is receiving the data Write – 0 – processor is outputting the data 68000 Memory & Peripheral Pins
8
9/20/6Lecture 3 - Instruction Set - Al8 68000 Memory & Peripheral Pins UDS* and LDS* Upper data strobe and Lower data strobe Indicates which byte(s) of the word addressed are being accessed Both asserted on a word access Only one for a byte access DTACK* - data transfer acknowledge Asserted by device being accessed to indicate that data bus is valid
9
9/20/6Lecture 3 - Instruction Set - Al9 UDS* and LDS* control
10
9/20/6Lecture 3 - Instruction Set - Al10 Synchronous Bus Control Most transfers take place asynchronously 3 pins for synchronous bus control VPA* - Valid peripheral address VMA* - Valid memory address E – Enable output from the 68000 – A timing signal for interfacing with 6800 series peripherals
11
9/20/6Lecture 3 - Instruction Set - Al11 Asynchronous Bus Conrol The usual transfer protocol – CPU read cycle Note handshake.
12
9/20/6Lecture 3 - Instruction Set - Al12 68000 Read cycle Protocol of the read cycle Note that this is a bus master, bus slave protocol Bus master could be a device other than CPU – same protocol.
13
9/20/6Lecture 3 - Instruction Set - Al13 Timing diagram review For a D F/F Actual behavior indicating timing parameters General form Alternative form indicating sequence
14
9/20/6Lecture 3 - Instruction Set - Al14 68000 Read cycle Clock is 50% duty cycle Address becomes valid AS* asserted LDS*, UDS* asserted R/W Memory responds with DTACK* Memory sends data
15
9/20/6Lecture 3 - Instruction Set - Al15 Continued Wait states are Added until DTACK* asserted
16
9/20/6Lecture 3 - Instruction Set - Al16 Timing Diagram with parameters
17
9/20/6Lecture 3 - Instruction Set - Al17 Parameters
18
9/20/6Lecture 3 - Instruction Set - Al18 Write cycle protocol
19
9/20/6Lecture 3 - Instruction Set - Al19 Write cycle timing
20
9/20/6Lecture 3 - Instruction Set - Al20 Write cycle timing
21
9/20/6Lecture 3 - Instruction Set - Al21 Write cycle parameters
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.