Chapter 8. The MAP Circuit Discussion. The MAP Circuit 53

Similar documents
Chapter 18. DRAM Circuitry Discussion. Block Diagram Description. DRAM Circuitry 113

EECS 140 Laboratory Exercise 7 PLD Programming

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

Physics 120 Lab 10 (2018): Flip-flops and Registers

Asynchronous (Ripple) Counters

Light Emitting Diodes and Digital Circuits I

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER

Contents Circuits... 1

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

Light Emitting Diodes and Digital Circuits I

Module -5 Sequential Logic Design

Light Emitting Diodes and Digital Circuits I

Chapter 2. Digital Circuits

D Latch (Transparent Latch)

HIGH PERFORMANCE MEMORY DESIGN TECHNIQUE FOR THE MC68000

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

Sequential Logic and Clocked Circuits

Page 1) 7 points Page 2) 16 points Page 3) 22 points Page 4) 21 points Page 5) 22 points Page 6) 12 points. TOTAL out of 100

ASYNCHRONOUS COUNTER CIRCUITS

(Refer Slide Time: 1:45)

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

Logic. Andrew Mark Allen March 4, 2012

Physics 323. Experiment # 10 - Digital Circuits

Digital Circuits I and II Nov. 17, 1999

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Analogue Versus Digital [5 M]

Handout 16. by Dr Sheikh Sharif Iqbal. Memory Interface Circuits 80x86 processors

DIGITAL ELECTRONICS MCQs

FLIP-FLOPS AND RELATED DEVICES

Other Flip-Flops. Lecture 27 1

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

RS flip-flop using NOR gate

RS flip-flop using NOR gate

(Refer Slide Time: 2:03)

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

DIGITAL REGISTERS. Serial Input Serial Output. Block Diagram. Operation

(Refer Slide Time: 2:05)

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

MODULE 3. Combinational & Sequential logic

Synchronous Sequential Logic

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

EKT 121/4 ELEKTRONIK DIGIT 1

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

CHAPTER 6 COUNTERS & REGISTERS

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Copyright 2011 by Enoch Hwang, Ph.D. and Global Specialties. All rights reserved. Printed in Taiwan.

Digital Circuits 4: Sequential Circuits

Chapter 4. Logic Design

WINTER 14 EXAMINATION

Lesson 12. Advanced Digital Integrated Circuits Flip-Flops, Counters, Decoders, Displays

A Combined Combinational-Sequential System

Decade Counters Mod-5 counter: Decade Counter:

Music Electronics Finally DeMorgan's Theorem establishes two very important simplifications 3 : Multiplexers

SEMESTER ONE EXAMINATIONS 2002

EXPERIMENT #6 DIGITAL BASICS

We can think of the multiplexor (or mux) as a data selector, the diagram below illustrates a four input mux. X Y

Lab #10: Building Output Ports with the 6811

Counter dan Register

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Computer Systems Architecture

VU Mobile Powered by S NO Group

Assignment 2b. ASSIGNMENT 2b. due at the start of class, Wednesday Sept 25.

Sequential Logic Basics

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

LATCHES & FLIP-FLOP. Chapter 7

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

TYPICAL QUESTIONS & ANSWERS

CPS311 Lecture: Sequential Circuits

AIM: To study and verify the truth table of logic gates

CHAPTER 1 LATCHES & FLIP-FLOPS

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

REPEAT EXAMINATIONS 2002

Introduction. Serial In - Serial Out Shift Registers (SISO)

Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

Sequential Logic Notes

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

NEW MEXICO STATE UNIVERSITY Electrical and Computer Engineering Department. EE162 Digital Circuit Design Fall Lab 5: Latches & Flip-Flops

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

Experiment # 4 Counters and Logic Analyzer

CCE RR REVISED & UN-REVISED KARNATAKA SECONDARY EDUCATION EXAMINATION BOARD, MALLESWARAM, BANGALORE G È.G È.G È..

DIGITAL ELECTRONICS LAB MANUAL FOR 2/4 B.Tech (ECE) COURSE CODE: EC-252

BISHOP ANSTEY HIGH SCHOOL & TRINITY COLLEGE EAST SIXTH FORM CXC CAPE PHYSICS, UNIT 2 Ms. S. S. CALBIO NOTES lesson #39

Asynchronous counters

WINTER 15 EXAMINATION Model Answer

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7)

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Sequential Circuits

Scanned by CamScanner

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous)

INC 253 Digital and electronics laboratory I

Transcription:

The MAP Circuit 53 Chapter 8 The MAP Circuit 8-1. Discussion In the preceding chapter, we described the connections to the 68000 microprocessor and actually got it to the point where it ran. It is now time to add some of the circuits which make it into a working system. (Let us begin with a short Detour): We have by now learned that signals could be either active high or active low, and that the name of a signal was often a dead giveaway if it was notted"; that is, if it had the not bar" over it. A signal like DTACK was therefore active low because of being notted, whereas FC0 was active high because it did not have a not bar. Another way to mark a signal in a diagram is by using a bubble, which is simply a small circle at the end of a wire. Many engineers and technicians tend to get a bit careless with bubbles so they can t always be trusted, but when properly used they can be very helpful. Look at Fig. 8-1 for an example; this is just a repeat of part of the HALT LED circuitry discussed in Chapter 3. The signal arriving from the left is HALT; it has a not bar over the name (we say it is notted) to indicate that this signal is low when asserted. In other words, this signal goes low when the 68000 is halted. This is also shown by the bubble at pin 13, the input side of inverter U32f. The output on pin 12, as well as the input into pin 9, has no such bubble and so Fig. 8-1. The HALT LED circuit.

The MAP Circuit 54 we know that this wire is high when the 68000 is halted. Pin 8, the output of U32d, on the other hand, has a bubble again, so we again see that this point is low during a halt. Put another way, pins 13 and 8 are active low, whereas pins 12 and 9 are active high. Here is a prime example where active low and active high circuits are separated by just a tenth of an inch. It s important to understand that U32f and U32d are really the same type of device even though their symbols are different. They are both part of U32, a 7406 IC, and are both exactly the same. The fact that one has a bubble on the input whereas the other has it on the output is just a convenient way of drawing the same physical circuit. It is drawn that way to explain what is happening in this particular circuit. Fig. 8-2 shows some more examples of this. The left diagram at (a) is normally called an AND gate; described in words, its job is to make the output high if input A is high AND input B is high." Thus if both inputs are high, then the output is high. But there is another way of looking at it: if either input is low, then the output is low. Thus we could say make the output low if A is low OR B is low." That sounds more like an OR gate which works with lows. In a way, the right diagram at (b) is supposed to tell us just that - think of each bubble as being the word low. Hence if you have two active high circuits and want to AND them to assert an active high output if both inputs are asserted (which means high), then you use the AND gate symbol at the left. But if you have two active low circuits and want to assert an active low output when either input is asserted (which, in this case, means low), then you use the strange-looking OR symbol at the right. Fig. 8-2. Logic gate equivalents.

The MAP Circuit 55 It s important to understand that both symbols in Fig. 8-2 (a) are really the same device - they are just different on paper because they stress a different function. A designer might use either symbol for the same device, depending on what that particular circuit is supposed to do. An IC manual, for example, describes a 7408 as a quadruple 2-input positive-and gate". This means the 7408 has four 2-input gates which act as positive-and". Remembering that positive logic is just another phrase for active high, this says that the 7408 is used for ANDing in an active high circuit. But the 7408 could just as well be called a negative OR" (though most IC manuals assume the reader already knows that and hence don t bother to use those words.) In the same way, Fig. 8-2 (b) shows a positive-or" at the left, and a negative AND" at the right. In reality, both of these could be used for the same 7432 IC. The left circuit says that if A is high OR B is high, then the output is high", whereas the right circuit says that if A is low AND B is low, then the output is low." Both of these sentences say the same thing. If you think of the bubble as being the word low", whereas the lack of a bubble means high", then the left circuit in Fig. 8-2 (c) means "if A is high AND B is high, then the output is low", whereas the right circuit says "if A is low OR B is low, then the output is high." In reality, this is again saying the same thing. Both of these symbols could apply to the same 7400 NAND gate even though the right symbol is really doing an ORing function - if you assume that the inputs are active low, then if either input is asserted low, the output is asserted high. Likewise, the left circuit in Fig. 8-2 (d) means "if A is high OR B is high, then the output is low", whereas the right circuit says "if A is low AND B is low, then the output is high." Again, this is really saying the same thing. Both of these circuits could apply to the same 7402 NOR gate. All of this may sound strange to you, but as we go on, you will see that these new symbols greatly help to explain how some parts of the SK68K computer work. (End of Detour, and back to the MAP circuit.) When the 68000 first starts operating after it is turned on, it has to know (a) where to place its stack, and (b) where to find the very first instruction to perform. It looks for these two addresses in the first eight bytes of memory, starting at address 0. In most 68000 computers, however, address 0 is the beginning of RAM; moreover, the RAM is empty when the computer is first turned on. How do these two addresses get there then? The solution is usually to doctor up the address decoder so that at the very beginning it is the ROM, not the RAM, that is at location 0. The ROM is there just long enough for the 68000 to get its two addresses, after which the address decoder removes the ROM and replaces it with RAM. Such a ROM is sometimes called a phantom. The MAP circuit of Fig. 8-3 tells the address decoder when to switch in RAM or ROM at address 0. U90 is an eight-stage shift register - a group of eight flip-flops connected so an input applied to the A and B pins shifts through the register, one flipflop at a time, as it receives clock pulses. When the computer first starts, or each time it is reset, all the flip-flops in the register are cleared by the RESETsignal. The QD output, which is normally jumpered out through J25,

The MAP Circuit 56 Fig. 8-3. Circuit to generate MAP signal. 8-2. Construction then provides a low MAP signal which tells the address decoder to put the ROM at address 0. (In normal operation, there would be a jumper from the center pin of J25 to pin 1.) When the 68000 starts, it fetches the stack address and program start address from ROM in four 16-bit reads; each one of these reads is accompanied by an AS address strobe. At the same time, the positive edge (i.e., the trailing edge) of each AS strobe clocks U90. Since the A and B shift register inputs are connected to a high (+5 volts), each clock pulse shifts a high into the register. After the first clock pulse, that high gets to QA; after the second pulse it gets to QB, and so on. After exactly four AS strobes, that high gets to QD, out the MAPlead to the address decoder, and tells the decoder to disconnect the ROM from address 0 and substitute RAM instead of ROM. In normal operation, therefore, when the computer first starts, the MAP signal is low and therefore the 68000 sees ROM at address 0. After four AS pulses - exactly long enough for the 68000 to read eight bytes of data from the ROM - MAP goes high and address 0 becomes RAM instead of ROM. In the SK68K, however, the RAM used at address 0 is dynamic RAM. If we want to use the computer without the DRAM, then we must disable the MAP circuit and keep ROM at address 0. This can be done by jumpering the center pin of J25 to position 2, which keeps MAP low at all times. Reminder: There should still be two jumpers on your board, left over from Chapter 7: one connecting U47 pins 14 and 22 to negate the 68000 s BERR, signal, and one connecting U66 pins 1 and 14 to assert the 68000 s DTACK signal. You should also still have the two sets of Molex pins plugged into the U21 and U27 sockets to provide zeroes on the data bus. Leave these until we tell you to remove them. Now install the following: U90 74LS164 and its socket

The MAP Circuit 57 J25 three-pin header. Place a shorting plug from the center pin to position 1. U66 is already installed from a previous step. 8-3. Testing Turn on the power and verify that the MAP signal on the center pin of J25 goes low while you short the reset pins (J23), and goes high about a second later, at the same time as the HALT LED goes off. (Unless you have a good quality oscilloscope, it is very difficult to verify that exactly four AS pulses go by before MAP becomes high, so we will have to take it on faith.)

The MAP Circuit 58