Universität Duisburg-Essen FCE 1. Experiment 4. Microprogramming

Size: px
Start display at page:

Download "Universität Duisburg-Essen FCE 1. Experiment 4. Microprogramming"

Transcription

1 Universität Duisburg-Essen PRACTICAL TRAINING TO THE LECTURE FCE 1 Experiment 4 Microprogramming Name: First Name: Tutor: Matriculation-Number: Group-Number: Date: All questions marked with Q1 to Qn must be answered before the lab begins. All tasks marked with T1 till Tn must be completed to finish the lab. Prof. Dr.Ing. Axel Hunger Dipl.Ing. Joachim Zumbrägel Universität Duisburg-Essen Faculty of Engineering, Department Electrical Engineering and Information Technology Computer Engineering Copyright (C) Computer Engineering

2 Introduction Up to now we have been working with simple logical devices, such as flip-flops. In the current experiment, however, we will get familiar with a new type of logical device, the ROM. We will attempt to build a traffic-light control system, during which the programming of a ROM device will be clarified and carried out. 1. Specification of Traffic-Light Behavior In this experiment we will develop and simulate a traffic-light control system, which purpose is to regulate 4 distinct traffic-lights on a crossroad. Fig. 1.1 shows the structure of the crossroad and position of the traffic-lights. Using 3 distinct signal lights (red, yellow and green), each traffic-light follows a well known light patter consisting of 4 different states: red (rd), red and yellow (ry), green (gr) and yellow (yl). All 4 traffic-lights repeat periodically the 4-state pattern, which results in a period of 16 states for the whole crossroad. Fig. 1.1: Crossroad with 4 traffic-lights In Table 1.1 the 16 states cycle for the crossroad is shown along with the duration for each system state. For example, line 1 of Table 1.1 defines traffic-lights A and B as red, and trafficlights C and D as green. This state lasts for time t5. In reality different crossroad states require different duration. Therefore, for this experiment we define five distinct durations: t1, t2, t3, t4 and t5. The actual time these durations require is of no importance, what is relevant is the relation between them. t1 is defined as basic time period, therefore: t2 = 2*t1 t3 = 4*t1 t4 = 5*t1 t5 = 20*t1 To clear the crossroad from traffic, state 5 will be used and it will last t3 = 4*t1. 2/16

3 State A B C D Duration 1 rd rd gn gn t5 2 rd rd yl gn t2 3 rd rd rd gn t4 4 rd rd rd yl t2 5 rd rd rd rd t3 6 rd ry rd rd t1 7 rd gr rd rd t4 8 ry gr rd rd t1 9 gn gr rd rd t5 10 gn yl rd rd t2 11 gn rd rd rd t4 12 yl rd rd rd t2 13 rd rd rd rd t3 14 rd rd ry rd t1 15 rd rd gr rd t4 16 rd rd gr ry t1 Table 1.1: Traffic-light states for one cycle Q1: How many different combinations of traffic-light system states are there? How many bits are necessary to encode these combinations? Q2: How many bits are needed to encode the states of a single traffic-light? 2. Building the Traffic-Light system The controller for the crossroad traffic-light system is now to be developed, making use of a constant memory storage device, a ROM (Read Only Memory). The ROM should be programmed with all crossroad traffic-light system states. The input signals for the individual 3/16

4 traffic-lights will be the output of the programmed ROM. The addressing of the specific ROM output is done by a counter. Since the ROM has only 8 outputs and we have 4 distinct trafficlight with 3 lamps each, we need a decoder to translate the output from the ROM to input for the traffic-lights. Overall we need 4 decoders for each traffic-light. Each decoder takes 2 input signals and produces an output of 3 signals for red, yellow and green. Fig. 2.1 shows the structure of the traffic-light system controller. Counter & Address defining circuit Red Yellow Green Red Yellow Green Red Yellow Green Red Yellow Green Prof. OE Fig. 2.1: Traffic-light system controller 2.1 General specification of the structuring elements Before we begin with the development of the traffic-light system, the structuring elements of the system will be shortly clarified Read-Only Memory (ROM) A ROM (Read Only Memory) is a storage device, from which during runtime data can be read, but to which no data can be written. Typically, a ROM can be programmed with a specific number (2 n ) of data words, each having a data length of m. For example if m = 8 a word with the length of 8 bits is stored. These data words are written in addressable storage places in the ROM. To output the content of a specific storage place in the ROM, the address of that place must be input in binary code. In order to calculate the storage capacity of a ROM, we use the formula 2 n x m. For example a 1024x8-bits ROM, means that 2 10 = 1024 data words, each being 8 bits long, can be stored. Furthermore, the device must have 10 inputs (A0 A9), which will define the desired data word s address, and 8 outputs (O0 O7), which will give out the addressed data word. 4/16

5 bit Counter To realize the addressing of the ROM, a counter would be needed. We could directly use the part from the 7400 library to build the appropriate counter for the job. Depending on the input this device could be set to work in different modes. One of these is a 4-bit counter, where the outputs QA QD (least significant bit being QA and most significant bit being QD) can realize the numbers 0-15 in binary code Decoder A decoder is a sort of converter, which could be built in a software or hardware form depending on the application. In the logical circuits world the function of a decoder is to take any number of inputs n and decode them in 2 n outputs. Table 2.1 illustrates the truth table of a 2x4 decoder. This decoder takes information represented by 2 bits and decodes it in a 2 2 = 4 bit form. Fig. 2.2 shows the logical symbol of the 2x4 decoder. X1 X2 Y1 Y2 Y3 Y X1 X2 2x4 Decoder Y1 Y2 Y3 Y4 Table 2.1: Truth table of 2x4 Decoder Fig. 2.2: 2x4 Decoder symbol 2.2 Encoding the traffic-light system states in a ROM The task now is to encode the different states presented in Table 1.1 of the traffic-light system and program them in a ROM, taking into consideration the corresponding duration of each system state. Before we do that, we have to think about the encoding of the different states of a single traffic-light. For that reason we refer to Table 2.2, from there we see that we need 2 bits to encode all 4 states of a traffic-light. D 1 D 0 Red 0 0 Yellow 1 1 Green 0 1 Red-Yellow 1 0 Table 2.2: Coding of the states of a single traffic-light Q3: How many bits are needed to encode the states of all 4 traffic-lights? What must the data word length be for our ROM? The different duration of traffic-light system states (see Table 1.1) can be easily implemented the following way: system states that last longer than the shortest time period t1 are saved multiple times in the ROM. Exactly how many times each system state is saved depends on its 5/16

6 factor relation to t1 (refer to Page 3). For example the first system state (Nr. 1) from Table 1.1 will be saved 20 times in the ROM (t5 = 20*t1), the second system state (Nr. 2) will be saved only 2 times (t2 = 2*t1). The following table clarifies this principle: Address Content 0 Nr. 1 1 Nr. 1 : : 19 Nr.1 20 Nr Nr Nr Nr. 3 : : Q4: How many memory locations (addresses) are needed to store all combinations indicated in Table 1.1 in a ROM? Q5: Encode the combinations given in Table 1.1 using the code from Table 2.2! Fill Table 2.3 with your results. Traffic - D C B A ROM-Value ROM-Addresses Light (DECIMAL / (Range: DECIMAL/ Output O HEXADEZIMAL) Count: HEXADEZIMAL) 7 O 6 O 5 O 4 O 3 O 2 O 1 O 0 ROM Input Decoder D 1 D 0 D 1 D 0 D 1 D 0 D 1 D / / / / / / / C / / / / / / / / / Table 2.3: Coding the different traffic-lights states 6/16

7 For flawless control of the traffic-light some additional circuitry is needed. It comprises of: a counter, which defines the addresses for the ROM; a circuit for recognizing the last state, which takes care of resetting the counter; a decoding circuit. 2.3 Programming the ROM A ROM is initially empty; it has no data stored in it. In order to load the required data into the ROM, we have to create a file in Intel-Hex-Format. Intel HEX is a file format for conveying binary information for applications like programming microcontrollers, EPROMs, and other kinds of chips. This format is a text file in which each line of data contains hexadecimal values. These values represent encoded sequence of data and their starting address. Each line of the Intel HEX file consists of six parts: Start code; Data length; Address; Record type; Data block; Checksum; Fig. 2.3 clarifies how a single line in an Intel-Hex-File is structured. Each square (field) represents 1 Byte or 8 bits. All bytes in a line (except for the Start code) are represented as ASCII-coded hexadecimal numbers. : n n n n n n n Start code Data length Address Data block Checksum Fig. 2.3: Structure of a line in Intel-Hex-File Every line begins with a Start code, a colon :. Data length specifies the number of bytes in the Data block of that line. The next two bytes (Address) represent the starting address in the memory where the data is going to be located. The Record type byte defines the type of data the line contains. Record type 00 stands for Data and 01 defines the last line in the file. The Data block contains the actual data we want to store. The size of the Data block varies with the size of the data we store. The last byte (Checksum) is a validation check on all bytes in the line except for the Start code. The Checksum byte is calculated the following way: sum up all the bytes in the line (without the Start code), calculate mod 256 of the sum and convert the result to 2 s complement. Given that the sum of all bytes for one line including the Checksum should yield out to zero. 7/16

8 It is extremely important to specify the end of the file. To do that leave an empty line after your last entry and add the following line afterwards: : FF This last line denotes the end of the file. The Data length is 00 since nothing is going to be stored, the Address is 0000 and the Record type is 01 meaning last line. Example: Data we want to store: Address we want to store the data in: 0101 Step1: convert the binary numbers into their equivalent hexadecimal values =61 16 and =5 16 Step2: define the Data length Since our data consists of only 7 bits ( ) we will need 1 Byte to store it. Therefore, we enter for Data length 01 (1 10 =1 16 ). Step3: enter Record type Record type would be 00 since we store data and this is not our last line. Step4: calculating the Checksum Sum up all Bytes in one line: Data Length Byte + Address Bytes + Record Type Byte + Data Bytes: The result of the summation is 67 (in hexadecimal!!!) Since the result is in hexadecimal, we have to convert it to decimal first i.e. 67 in hexadecimal equals 103 in decimal. Take the result from above (the decimal value 103) and apply modulo 256 operation to it 103 mod 256 = 103. Take the result from the modulo operation (which is a decimal value) and convert it to binary, i.e. 103 in decimal equals in binary. (The leading zero is extremely important. Do not forget to fill in as many as needed leading zeroes in order to create one whole Byte (8 bits). After that, when we convert the number, the leading zeroes will become ones meaning if we forget to fill in these leading zeroes we will end up with completely different number.) Take the binary number from the step above and find its 2 s complement. How to find 2 s complement: invert every single bit of the binary number ( inverted yields ) and then add 1 to it ( = ). Meaning the 2 s complement of the binary number is /16

9 Take the resulting 2 s complement ( ) and convert it to hexadecimal ( in binary equals 99 in hexadecimal). This is your checksum. With everything in check the corresponding line in the Intel-Hex-File would be: : Data length Address Record type Data block Checksum Q6: Write down the series of command lines (all together 16) required to load the ROM with appropriate data for the control of the decoders. Fill the missing values into the table. Address range Row given in Hex-Format Address 0-19 Address : A : AC Address : A5 Address Address :02001B00C0C063 :04001D DF Address 33 : D6 Address : C5 Address 39 : D2 9/16

10 2.4 Using a 4-bit counter for addressing the ROM Since we need to save each system state several times in the ROM and we have an overall of 16 systems states, we would need more than 16 addresses for sure. Therefore, we would need a counter, which counts up to a value greater than 16 i.e. a counter with more than 4 bits. With the help of the part we can construct an 8-bit counter. (Refer to the data sheet for the specification of the part) Q7: How is the part supposed to be connected, so that it functions as a binary counter? Q8: What purpose does Pin Nr. 1 serve? Q9: What purpose do Pins Nr. 3, 4, 10, 11 serve? Q10: Which pin in the part is used to reset the counter? Q11: Which pins serve as outputs? Which are the least significant and most significant pins? Q12: Up to which decimal number can an 8-bit counter count? Q13: How can we build an 8-bit counter from two parts? Hint: think about when the second part should start counting. 10/16

11 Q14: Complete the following figure (Fig. 2.4) to an 8-bit counter! Fig Circuit for loop detection in the counter Since an 8-bit counter has much higher counting capacity than the number of addresses we need, we should design a circuit, which resets the counter at a specific point in time. Q15: At which number (address) should the 8-bit counter be reset? Please give both the decimal and binary form of the number. (Take into account that the last defined address should remain for a whole cycle) 11/16

12 Q16: Sketch the circuit, which gives the reset signal to the 8-bit counter when the address from Q15 is reached! Q17: At which pins of the 8-bit counter should the output of the circuit from Q16 be connected? 2.6 Decoder circuit for controlling the traffic lights The outputs of the ROM (Table 2.3) encoded with the data in Table 2.2 provide only 2 input signals for each traffic-light. They are not sufficient to directly control the three lamps (Red, Yellow and Green) each traffic-light has. Therefore, a 2x3 decoder would be needed to decode the 2 inputs into the needed 3 output signals for the lamps. Thus, for each of the four trafficlights a decoder is placed. Fig. 2.5: Decoder 12/16

13 Q18: Sketch the circuit of the decoder given in Fig. 2.5! 3. Implementing the traffic-light system circuit Your assignment is to build a circuit, which will serve as a working real life traffic-light system. The tasks in this chapter will lead the creation process of the traffic light system. We will also get familiar with the functionality of ROM and how to use such devices in OrCAD. We begin with the creation of a new project as with any new assignment and setting up our work area for the final circuit. T1: Create a new Analog or Mixed A/D project named Lab3. Rename the default schematic folder SCEMATIC1 to TrafficLightSystem and the default schematic page PAGE1 to TrafficLightCircuit. These will be your traffic-light system s schematic page and schematic folder. The first steps into the creation of our traffic-light system begin with a counter. T2: Create a new schematic folder by right-click on the Project Design and name that new folder Counter. In it create a new schematic page by right-click on the schematic folder and name the new schematic page CounterCircuit. T3: Create the circuit for the traffic-light system counter from question Q14 (Fig. 2.4) in the CounterCircuit schematic page and place, and name the appropriate ports at the inputs and outputs. Hint: For input ports use PORTRIGHT-R and for output ports use PORTLEFT-L After we have defined the counter, it is time to build the circuit for the decoder, which will control the actual lights. 13/16

14 T4: Create a new schematic folder named Decoder. In it create a new schematic page and name it DecoderCircuit. T5: Build the circuit for the traffic-light system decoder in the DecoderCircuit schematic page. Place and name the appropriate ports at the inputs and outputs of the circuit. Now that we have all the circuits in place we have to assemble our traffic-light system. T6: Open the TrafficLightCircuit schematic page. In that page define a hierarchical block for the traffic-light system counter. Now define a hierarchical block, referring to the decoder, for each traffic-light in the system. Hint: To create multiple instances of the same hierarchical block give a different Reference for each one. The only component missing in our traffic-light system is the ROM. It has the same functionality as the 7-segment controller in Lab2, but instead of encoding the input from the counter, it outputs certain patterns on corresponding input signal. T7: Place a ROM32KX8break in the TrafficLightCircuit schematic page. You will find the ROM device in the BREAKOUT.OLB library The end result of the traffic-light system circuit in the TrafficLightCircuit schematic page should resemble Fig Fig /16

15 The outputs O0 to O7 of the ROM32KX8break are used to trigger each decoder corresponding to a traffic light. The counter s outputs Q1 to Q8 serve as inputs A0 to A7 to the ROM and define the address for the referred output. The inputs A8 to A14 should be set to low (logical 0), since they are not used in the addressing of the ROM. Hint: you can use Place Power $D_LO (Library: SOURCE.OLB) to define a permanent low signal. T8: Use the results from Q6 and generate an Intel-Hex file named ROM.txt Hint: use Notepad text editor to create and edit your Intel-Hex file. Now you have to tell the ROM which Intel-Hex file it should refer to when a simulation runs. T9: Select the ROM from the TrafficLightCircuit schematic page. Navigate to Edit PSpice Model. The OrCAD Model Editor with the ROM s model should open. Search for the entry: *+ FILE = Delete the asterisk * it comments the line out. Write the name of your Intel-Hex file in quotation marks after the equal sign =. In our case that would be: + FILE = ROM.txt Save and exit the Model Editor. The Intel-Hex file is referred to during simulation when PSPICE looks for the specified file in the corresponding simulation profile folder. T10: Create a simulation profile and save your project, so that OrCAD can generate the necessary folders. Go to your project folder (should be C:\ORCAD_DATA) and search for the simulation profile folder in it named Lab3-PSpiceFiles. Copy your Intel-Hex file (ROM.txt) to the simulation profile folder. T11: Insert the appropriate signal sources and simulate the circuit. Check if your traffic-light system outputs the correct signal. Q19: How should we set OE (DSBL) of the ROM, so that the stored content appears at the corresponding outputs? 15/16

16 Digital Components Symbol-Name Type-Number Library NOT AND 2-Input AND 3-Input NAND 2-Input NAND 3-Input NAND 4-Input OR 2-Input NOR 2-Input NOR 3-Input XOR JK-FF with CLR JK-FF with PRE/CLR JK-FF with CLR JK-FF with PRE/CLR D-FF with PRE/CLR D-FF D-TYPE REGISTER REGISTER FILE O.C. PRESETTABLE BINARY COUNTER BINARY COUNTER ROM Input, 8 Output 32 bytes memory 74LS173A 74ls LS A, 74293, ROM ls 7400 BREAKOUT 16/16

Introduction to FCE1

Introduction to FCE1 Universität Duisburg-Essen PRACTICAL TRAINING TO THE LECTURE Introduction to FCE1 Introduction to computer-aided design with OrCAD Name: First Name: Tutor: Matriculation-Number: Group-Number: Date: Prof.

More information

R10. II B. Tech I Semester, Supplementary Examinations, May

R10. II B. Tech I Semester, Supplementary Examinations, May SET - 1 1. a) Convert the following decimal numbers into an equivalent binary numbers. i) 53.625 ii) 4097.188 iii) 167 iv) 0.4475 b) Add the following numbers using 2 s complement method. i) -48 and +31

More information

Dec Hex Bin ORG ; ZERO. Introduction To Computing

Dec Hex Bin ORG ; ZERO. Introduction To Computing Dec Hex Bin 0 0 00000000 ORG ; ZERO Introduction To Computing OBJECTIVES this chapter enables the student to: Convert any number from base 2, base 10, or base 16 to any of the other two bases. Add and

More information

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering Final Eamination ECE 4F - Digital Systems Eaminers: S. Brown, J.

More information

Digital Logic Design Exercises. Assignment 1

Digital Logic Design Exercises. Assignment 1 Assignment 1 For Exercises 1-5, match the following numbers with their definition A Number Natural number C Integer number D Negative number E Rational number 1 A unit of an abstract mathematical system

More information

CC411: Introduction To Microprocessors

CC411: Introduction To Microprocessors CC411: Introduction To Microprocessors OBJECTIVES this chapter enables the student to: Use number { base 2, base 10, or base 16 }. Add and subtract binary/hex numbers. Represent any binary number in 2

More information

Philadelphia University Student Name: Student Number:

Philadelphia University Student Name: Student Number: Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, First Semester: 2018/2019 Dept. of Computer Engineering Course Title: Logic Circuits Date: 03/01/2019

More information

Injntu.com Injntu.com Injntu.com R16

Injntu.com Injntu.com Injntu.com R16 1. a) What are the three methods of obtaining the 2 s complement of a given binary (3M) number? b) What do you mean by K-map? Name it advantages and disadvantages. (3M) c) Distinguish between a half-adder

More information

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR STUDENT IDENTIFICATION NO MULTIMEDIA COLLEGE JALAN GURNEY KIRI 54100 KUALA LUMPUR SECOND SEMESTER FINAL EXAMINATION, 2013/2014 SESSION ITC2223 COMPUTER ORGANIZATION & ARCHITECTURE DSEW-E-F 1/13 18 FEBRUARY

More information

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES 1 Learning Objectives 1. Explain the function of a multiplexer. Implement a multiplexer using gates. 2. Explain the

More information

Scheme G. Sample Test Paper-I

Scheme G. Sample Test Paper-I Sample Test Paper-I Marks : 25 Times:1 Hour 1. All questions are compulsory. 2. Illustrate your answers with neat sketches wherever necessary. 3. Figures to the right indicate full marks. 4. Assume suitable

More information

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two Solutions 26 February 2014

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two Solutions 26 February 2014 Problem 1 (4 parts, 21 points) Encoders and Pass Gates Part A (8 points) Suppose the circuit below has the following input priority: I 1 > I 3 > I 0 > I 2. Complete the truth table by filling in the input

More information

Experiment 6: S-Record Loader

Experiment 6: S-Record Loader Experiment 6 6-1 Fall 2004 Experiment 6: S-Record Loader Objectives: To study Motorola S-record format and the code necessary to download object files. To gain more understanding of D-Bug12 and similar

More information

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010

ECE 2030B 1:00pm Computer Engineering Spring problems, 5 pages Exam Two 10 March 2010 Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate

More information

Procedural Programming

Procedural Programming Universität Duisburg-Essen PRACTICAL TRAINING TO THE LECTURE Procedural Programming Session Five: Arrays Name: First Name: Tutor: Matriculation-Number: Group-Number: Date: Prof. Dr.Ing. Axel Hunger Dipl.-Ing.

More information

Systems Programming. Lecture 2 Review of Computer Architecture I

Systems Programming.   Lecture 2 Review of Computer Architecture I Systems Programming www.atomicrhubarb.com/systems Lecture 2 Review of Computer Architecture I In The Book Patt & Patel Chapter 1,2,3 (review) Outline Binary Bit Numbering Logical operations 2's complement

More information

Computer Architecture: Part III. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

Computer Architecture: Part III. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University Computer Architecture: Part III First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University Outline Decoders Multiplexers Registers Shift Registers Binary Counters Memory

More information

END-TERM EXAMINATION

END-TERM EXAMINATION (Please Write your Exam Roll No. immediately) END-TERM EXAMINATION DECEMBER 2006 Exam. Roll No... Exam Series code: 100919DEC06200963 Paper Code: MCA-103 Subject: Digital Electronics Time: 3 Hours Maximum

More information

Hours / 100 Marks Seat No.

Hours / 100 Marks Seat No. 17333 13141 3 Hours / 100 Seat No. Instructions (1) All Questions are Compulsory. (2) Answer each next main Question on a new page. (3) Illustrate your answers with neat sketches wherever necessary. (4)

More information

EECS 150 Homework 7 Solutions Fall (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are:

EECS 150 Homework 7 Solutions Fall (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are: Problem 1: CLD2 Problems. (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are: C 0 = A + BD + C + BD C 1 = A + CD + CD + B C 2 = A + B + C + D C 3 = BD + CD + BCD + BC C 4

More information

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system. Assignment No. 1 1. State advantages of digital system over analog system. 2. Convert following numbers a. (138.56) 10 = (?) 2 = (?) 8 = (?) 16 b. (1110011.011) 2 = (?) 10 = (?) 8 = (?) 16 c. (3004.06)

More information

Written exam for IE1204/5 Digital Design Thursday 29/

Written exam for IE1204/5 Digital Design Thursday 29/ Written exam for IE1204/5 Digital Design Thursday 29/10 2015 9.00-13.00 General Information Examiner: Ingo Sander. Teacher: William Sandqvist phone 08-7904487 Exam text does not have to be returned when

More information

Code No: R Set No. 1

Code No: R Set No. 1 Code No: R059210504 Set No. 1 II B.Tech I Semester Regular Examinations, November 2006 DIGITAL LOGIC DESIGN ( Common to Computer Science & Engineering, Information Technology and Computer Science & Systems

More information

EE 3170 Microcontroller Applications

EE 3170 Microcontroller Applications EE 3170 Microcontroller Applications Lecture 4 : Processors, Computers, and Controllers - 1.2 (reading assignment), 1.3-1.5 Based on slides for ECE3170 by Profs. Kieckhafer, Davis, Tan, and Cischke Outline

More information

Code No: 07A3EC03 Set No. 1

Code No: 07A3EC03 Set No. 1 Code No: 07A3EC03 Set No. 1 II B.Tech I Semester Regular Examinations, November 2008 SWITCHING THEORY AND LOGIC DESIGN ( Common to Electrical & Electronic Engineering, Electronics & Instrumentation Engineering,

More information

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two 26 February 2014

ECE 2020B Fundamentals of Digital Design Spring problems, 6 pages Exam Two 26 February 2014 Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate

More information

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation 1. Objectives A. To apply knowledge of combinatorial design. B. Gain expertise in designing and building a simple combinatorial circuit This

More information

R a) Simplify the logic functions from binary to seven segment display code converter (8M) b) Simplify the following using Tabular method

R a) Simplify the logic functions from binary to seven segment display code converter (8M) b) Simplify the following using Tabular method SET - 1 1. a) Convert the decimal number 250.5 to base 3, base 4 b) Write and prove de-morgan laws c) Implement two input EX-OR gate from 2 to 1 multiplexer (3M) d) Write the demerits of PROM (3M) e) What

More information

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly. Unit I 8085 and 8086 PROCESSOR Introduction to microprocessor A microprocessor is a clock-driven semiconductor device consisting of electronic logic circuits manufactured by using either a large-scale

More information

Code No: R Set No. 1

Code No: R Set No. 1 Code No: R059210504 Set No. 1 II B.Tech I Semester Supplementary Examinations, February 2007 DIGITAL LOGIC DESIGN ( Common to Computer Science & Engineering, Information Technology and Computer Science

More information

Logic design Ibn Al Haitham collage /Computer science Eng. Sameer

Logic design Ibn Al Haitham collage /Computer science Eng. Sameer DEMORGAN'S THEOREMS One of DeMorgan's theorems stated as follows: The complement of a product of variables is equal to the sum of the complements of the variables. DeMorgan's second theorem is stated as

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Introduction to Computing Module No: CS/ES/1 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Introduction to Computing Module No: CS/ES/1 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Introduction to Computing Module No: CS/ES/1 Quadrant 1 e-text About the course : In this digital world, embedded systems are more

More information

EE 109L Final Review

EE 109L Final Review EE 09L Final Review Name: Closed Book / Score:. Short Answer (6 pts.) a. Storing temporary values in (memory / registers) is preferred due to the (increased / decreased) access time. b. True / False: A

More information

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book BUILDING BLOCKS OF A BASIC MICROPROCESSOR Part PowerPoint Format of Lecture 3 of Book Decoder Tri-state device Full adder, full subtractor Arithmetic Logic Unit (ALU) Memories Example showing how to write

More information

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April SET - 1 II B. Tech II Semester, Supplementary Examinations, April - 2012 SWITCHING THEORY AND LOGIC DESIGN (Electronics and Communications Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions

More information

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, 2016 Instructions: CS1800 Discrete Structures Final 1. The exam is closed book and closed notes. You may

More information

that system. weighted value associated with it. numbers. a number. the absence of a signal. MECH 1500 Quiz 2 Review Name: Class: Date:

that system. weighted value associated with it. numbers. a number. the absence of a signal. MECH 1500 Quiz 2 Review Name: Class: Date: Name: Class: Date: MECH 1500 Quiz 2 Review True/False Indicate whether the statement is true or false. 1. The decimal system uses the number 9 as its base. 2. All digital computing devices perform operations

More information

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY Vadapudupatti, Theni

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY Vadapudupatti, Theni NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY Vadapudupatti, Theni-625531 Question Bank for the Units I to V SEMESTER BRANCH SUB CODE 3rd Semester B.E. / B.Tech. Electrical and Electronics Engineering

More information

Good Evening! Welcome!

Good Evening! Welcome! University of Florida EEL 3701 Fall 2011 Dr Eric M Schwartz Page 1/11 Exam 2 Instructions: Turn off all cell phones, beepers and other noise making devices Show all work on the front of the test papers

More information

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC

More information

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS YEAR / SEM: III / V UNIT I NUMBER SYSTEM & BOOLEAN ALGEBRA

More information

ELCT 501: Digital System Design

ELCT 501: Digital System Design ELCT 501: Digital System Lecture 4: CAD tools (Continued) Dr. Mohamed Abd El Ghany, Basic VHDL Concept Via an Example Problem: write VHDL code for 1-bit adder 4-bit adder 2 1-bit adder Inputs: A (1 bit)

More information

DIGITAL SYSTEM DESIGN

DIGITAL SYSTEM DESIGN DIGITAL SYSTEM DESIGN Prepared By: Engr. Yousaf Hameed Lab Engineer BASIC ELECTRICAL & DIGITAL SYSTEMS LAB DEPARTMENT OF ELECTRICAL ENGINEERING Digital System Design 1 Name: Registration No: Roll No: Semester:

More information

Computer Organization and Levels of Abstraction

Computer Organization and Levels of Abstraction Computer Organization and Levels of Abstraction Announcements Today: PS 7 Lab 8: Sound Lab tonight bring machines and headphones! PA 7 Tomorrow: Lab 9 Friday: PS8 Today (Short) Floating point review Boolean

More information

LAB #3: ADDERS and COMPARATORS using 3 types of Verilog Modeling

LAB #3: ADDERS and COMPARATORS using 3 types of Verilog Modeling LAB #3: ADDERS and COMPARATORS using 3 types of Verilog Modeling LAB OBJECTIVES 1. Practice designing more combinational logic circuits 2. More experience with equations and the use of K-maps and Boolean

More information

DE Solution Set QP Code : 00904

DE Solution Set QP Code : 00904 DE Solution Set QP Code : 00904 1. Attempt any three of the following: 15 a. Define digital signal. (1M) With respect to digital signal explain the terms digits and bits.(2m) Also discuss active high and

More information

Lab 16: Data Busses, Tri-State Outputs and Memory

Lab 16: Data Busses, Tri-State Outputs and Memory Lab 16: Data Busses, Tri-State Outputs and Memory UC Davis Physics 116B Rev. 0.9, Feb. 2006 1 Introduction 1.1 Data busses Data busses are ubiquitous in systems which must communicate digital data. Examples

More information

CS1800 Discrete Structures Final Version A

CS1800 Discrete Structures Final Version A CS1800 Discrete Structures Fall 2017 Profs. Aslam, Gold, & Pavlu December 11, 2017 CS1800 Discrete Structures Final Version A Instructions: 1. The exam is closed book and closed notes. You may not use

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN SUBJECT: CSE 2.1.6 DIGITAL LOGIC DESIGN CLASS: 2/4 B.Tech., I SEMESTER, A.Y.2017-18 INSTRUCTOR: Sri A.M.K.KANNA

More information

EE 109L Review. Name: Solutions

EE 109L Review. Name: Solutions EE 9L Review Name: Solutions Closed Book / Score:. Short Answer (6 pts.) a. Storing temporary values in (memory / registers) is preferred due to the (increased / decreased) access time. b. True / False:

More information

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017 Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between

More information

SECTION-A

SECTION-A M.Sc(CS) ( First Semester) Examination,2013 Digital Electronics Paper: Fifth ------------------------------------------------------------------------------------- SECTION-A I) An electronics circuit/ device

More information

PROGRAMMABLE LOGIC DEVICES

PROGRAMMABLE LOGIC DEVICES PROGRAMMABLE LOGIC DEVICES Programmable logic devices (PLDs) are used for designing logic circuits. PLDs can be configured by the user to perform specific functions. The different types of PLDs available

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085. (1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic

More information

10-MINUTE TUTORIAL DIGITAL LOGIC CIRCUIT MODELING AND SIMULATION WITH MULTISIM

10-MINUTE TUTORIAL DIGITAL LOGIC CIRCUIT MODELING AND SIMULATION WITH MULTISIM 1-MINUTE TUTORIAL DIGITAL LOGIC CIRCUIT MODELING AND SIMULATION WITH MULTISIM Multisim is a schematic capture and simulation program for analog, digital and mixed analog/digital circuits, and is one application

More information

DIGITAL ELECTRONICS. P41l 3 HOURS

DIGITAL ELECTRONICS. P41l 3 HOURS UNIVERSITY OF SWAZILAND FACUL TY OF SCIENCE AND ENGINEERING DEPARTMENT OF PHYSICS MAIN EXAMINATION 2015/16 TITLE OF PAPER: COURSE NUMBER: TIME ALLOWED: INSTRUCTIONS: DIGITAL ELECTRONICS P41l 3 HOURS ANSWER

More information

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, 2016 Instructions: CS1800 Discrete Structures Final 1. The exam is closed book and closed notes. You may

More information

Programmable Logic Design Techniques I

Programmable Logic Design Techniques I PHY 440 Lab14: Programmable Logic Design Techniques I The design of digital circuits is a multi-step process. It starts with specifications describing what the circuit must do. Defining what a circuit

More information

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN B.Tech II Year I Semester () Regular Examinations December 2014 (Common to IT and CSE) (a) If 1010 2 + 10 2 = X 10, then X is ----- Write the first 9 decimal digits in base 3. (c) What is meant by don

More information

Laboratory 4 Design a Muti-bit Counter

Laboratory 4 Design a Muti-bit Counter Laboratory 4 Design a Muti-bit Counter Background A. Approach I: Design 3-bit counter with and clear T-type flip-flop is shown in Figure 1. A T flip-flop is obtained from a JK flip-flop by tying the J

More information

(Refer Slide Time 3:31)

(Refer Slide Time 3:31) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 5 Logic Simplification In the last lecture we talked about logic functions

More information

Microprocessor Architecture. mywbut.com 1

Microprocessor Architecture. mywbut.com 1 Microprocessor Architecture mywbut.com 1 Microprocessor Architecture The microprocessor can be programmed to perform functions on given data by writing specific instructions into its memory. The microprocessor

More information

Explanation of PIC 16F84A processor data sheet Part 1: overview of the basics

Explanation of PIC 16F84A processor data sheet Part 1: overview of the basics Explanation of PIC 16F84A processor data sheet Part 1: overview of the basics This report is the first of a three part series that discusses the features of the PIC 16F94A processor. The reports will refer

More information

Continuing with whatever we saw in the previous lectures, we are going to discuss or continue to discuss the hardwired logic design.

Continuing with whatever we saw in the previous lectures, we are going to discuss or continue to discuss the hardwired logic design. Computer Organization Part I Prof. S. Raman Department of Computer Science & Engineering Indian Institute of Technology Lecture 10 Controller Design: Micro programmed and hard wired (contd) Continuing

More information

Digital Design with FPGAs. By Neeraj Kulkarni

Digital Design with FPGAs. By Neeraj Kulkarni Digital Design with FPGAs By Neeraj Kulkarni Some Basic Electronics Basic Elements: Gates: And, Or, Nor, Nand, Xor.. Memory elements: Flip Flops, Registers.. Techniques to design a circuit using basic

More information

FAULT TOLERANT SYSTEMS

FAULT TOLERANT SYSTEMS FAULT TOLERANT SYSTEMS http://www.ecs.umass.edu/ece/koren/faulttolerantsystems Part 6 Coding I Chapter 3 Information Redundancy Part.6.1 Information Redundancy - Coding A data word with d bits is encoded

More information

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet Example Application...

1 Introduction to Computers and Computer Terminology Programs Memory Processor Data Sheet Example Application... Overview of the PIC 16F648A Processor: Part 1 EE 361L Lab 2.1 Last update: August 19, 2011 Abstract: This report is the first of a three part series that discusses the features of the PIC 16F684A processor,

More information

IB Computer Science Topic.2-

IB Computer Science Topic.2- Topic.2- Computer Organization Designed by: Allan Lawson Sources: Online Materials, thanks for all Topic 2.1.1 Computer Architecture Outline the architecture of a central processing unit (CPU) and the

More information

(Refer Slide Time: 00:01:53)

(Refer Slide Time: 00:01:53) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 36 Design of Circuits using MSI Sequential Blocks (Refer Slide Time:

More information

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment Assignment 1. What is multiplexer? With logic circuit and function table explain the working of 4 to 1 line multiplexer. 2. Implement following Boolean function using 8: 1 multiplexer. F(A,B,C,D) = (2,3,5,7,8,9,12,13,14,15)

More information

ENEE245 Digital Circuits and Systems Lab Manual

ENEE245 Digital Circuits and Systems Lab Manual ENEE245 Digital Circuits and Systems Lab Manual Department of Engineering, Physical & Computer Sciences Montgomery College Version 1.1 Copyright Prof. Lan Xiang (Do not distribute without permission) 1

More information

PSIM: Processor SIMulator (version 4.2)

PSIM: Processor SIMulator (version 4.2) PSIM: Processor SIMulator (version 4.2) by Charles E. Stroud, Professor Dept. of Electrical & Computer Engineering Auburn University July 23, 2003 ABSTRACT A simulator for a basic stored program computer

More information

ENEE245 Digital Circuits and Systems Lab Manual

ENEE245 Digital Circuits and Systems Lab Manual ENEE245 Digital Circuits and Systems Lab Manual Department of Engineering, Physical & Computer Sciences Montgomery College Modified Fall 2017 Copyright Prof. Lan Xiang (Do not distribute without permission)

More information

QUESTION BANK FOR TEST

QUESTION BANK FOR TEST CSCI 2121 Computer Organization and Assembly Language PRACTICE QUESTION BANK FOR TEST 1 Note: This represents a sample set. Please study all the topics from the lecture notes. Question 1. Multiple Choice

More information

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points)

Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points) ELEC 2010 Laboratory Manual Experiment 9 In-Lab Procedure Page 1 of 7 Experiment 9: Binary Arithmetic Circuits In-Lab Procedure and Report (30 points) Before starting the procedure, record the table number

More information

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0 1. The number of level in a digital signal is: a) one b) two c) four d) ten 2. A pure sine wave is : a) a digital signal b) analog signal c) can be digital or analog signal d) neither digital nor analog

More information

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function.

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function. 1.b. Show that a 2-to-1 MUX is universal (i.e. that any Boolean expression can be implemented with

More information

2. MACHINE REPRESENTATION OF TYPICAL ARITHMETIC DATA FORMATS (NATURAL AND INTEGER NUMBERS).

2. MACHINE REPRESENTATION OF TYPICAL ARITHMETIC DATA FORMATS (NATURAL AND INTEGER NUMBERS). 2. MACHINE REPRESENTATION OF TYPICAL ARITHMETIC DATA FORMATS (NATURAL AND INTEGER NUMBERS). 2.. Natural Binary Code (NBC). The positional code with base 2 (B=2), introduced in Exercise, is used to encode

More information

MEMORY AND PROGRAMMABLE LOGIC

MEMORY AND PROGRAMMABLE LOGIC MEMORY AND PROGRAMMABLE LOGIC Memory is a device where we can store and retrieve information It can execute a read and a write Programmable Logic is a device where we can store and retrieve information

More information

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C) COP 273, Winter 26 Exercises 2 - combinational logic Questions. How many boolean functions can be defined on n input variables? 2. Consider the function: Y = (A B) (A C) B (a) Draw a combinational logic

More information

CHAPTER TWELVE - Memory Devices

CHAPTER TWELVE - Memory Devices CHAPTER TWELVE - Memory Devices 12.1 6x1,024 = 16,384 words; 32 bits/word; 16,384x32 = 524,288 cells 12.2 16,384 addresses; one per word. 12.3 2 16 = 65,536 words = 64K. Thus, memory capacity is 64Kx4.

More information

10EC33: DIGITAL ELECTRONICS QUESTION BANK

10EC33: DIGITAL ELECTRONICS QUESTION BANK 10EC33: DIGITAL ELECTRONICS Faculty: Dr.Bajarangbali E Examination QuestionS QUESTION BANK 1. Discuss canonical & standard forms of Boolean functions with an example. 2. Convert the following Boolean function

More information

CS311 Lecture: The Architecture of a Simple Computer

CS311 Lecture: The Architecture of a Simple Computer CS311 Lecture: The Architecture of a Simple Computer Objectives: July 30, 2003 1. To introduce the MARIE architecture developed in Null ch. 4 2. To introduce writing programs in assembly language Materials:

More information

This tutorial gives a complete understanding on Computer Logical Organization starting from basic computer overview till its advanced architecture.

This tutorial gives a complete understanding on Computer Logical Organization starting from basic computer overview till its advanced architecture. About the Tutorial Computer Logical Organization refers to the level of abstraction above the digital logic level, but below the operating system level. At this level, the major components are functional

More information

Laboratory 4 Design a Muti-bit Counter and Programming a FPGA

Laboratory 4 Design a Muti-bit Counter and Programming a FPGA Laboratory 4 Design a Muti-bit Counter and Programming a FPGA For your report: The problem written in English The flowchart or function table to solve the problem if it is necessary The design entry included

More information

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks

ECE 331: N0. Professor Andrew Mason Michigan State University. Opening Remarks ECE 331: N0 ECE230 Review Professor Andrew Mason Michigan State University Spring 2013 1.1 Announcements Opening Remarks HW1 due next Mon Labs begin in week 4 No class next-next Mon MLK Day ECE230 Review

More information

Midterm Exam 2B Answer key

Midterm Exam 2B Answer key Midterm Exam 2B Answer key 15110 Principles of Computing Fall 2015 April 6, 2015 Name: Andrew ID: Lab section: Instructions Answer each question neatly in the space provided. There are 6 questions totaling

More information

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing Microcontroller Systems ELET 3232 Topic 11: General Memory Interfacing 1 Objectives To become familiar with the concepts of memory expansion and the data and address bus To design embedded systems circuits

More information

EE 1315 DIGITAL LOGIC LAB EE Dept, UMD

EE 1315 DIGITAL LOGIC LAB EE Dept, UMD EE 1315 DIGITAL LOGIC LAB EE Dept, UMD EXPERIMENT # 1: Logic building blocks The main objective of this experiment is to let you familiarize with the lab equipment and learn about the operation of the

More information

An Overview of Microprocessor The first question comes in a mind "What is a microprocessor?. Let us start with a more familiar term computer. A digital computer is an electronic machine capable of quickly

More information

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603 203 DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS YEAR / SEMESTER: II / III ACADEMIC YEAR: 2015-2016 (ODD

More information

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES This chapter in the book includes: Objectives Study Guide 9.1 Introduction 9.2 Multiplexers 9.3 Three-State Buffers 9.4 Decoders and Encoders

More information

1. Internal Architecture of 8085 Microprocessor

1. Internal Architecture of 8085 Microprocessor 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the

More information

2 nd Year Laboratory. Experiment: FPGA Design with Verilog. Department of Electrical & Electronic Engineering. Imperial College London.

2 nd Year Laboratory. Experiment: FPGA Design with Verilog. Department of Electrical & Electronic Engineering. Imperial College London. Department of Electrical & Electronic Engineering 2 nd Year Laboratory Experiment: FPGA Design with Verilog Objectives By the end of this experiment, you should know: How to design digital circuits using

More information

A3 A2 A1 A0 Sum4 Sum3 Sum2 Sum1 Sum

A3 A2 A1 A0 Sum4 Sum3 Sum2 Sum1 Sum LAB #3: ADDERS and COMPARATORS using 3 types of Verilog Modeling LAB OBJECTIVES 1. Practice designing more combinational logic circuits 2. More experience with equations and the use of K-maps and Boolean

More information

University of Technology

University of Technology University of Technology Lecturer: Dr. Sinan Majid Course Title: microprocessors 4 th year Lecture 13 Counters Overview Counters are important components in computers The increment or decrement by one

More information

2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to?

2. (2 pts) If an external clock is used, which pin of the 8051 should it be connected to? ECE3710 Exam 2. Name _ Spring 2013. 5 pages. 102 points, but scored out of 100. You may use any non-living resource to complete this exam. Any hint of cheating will result in a 0. Part 1 Short Answer 1.

More information

Dataman-S6 - User's Manual. Dataman-S6 Compact USB Programmer User's Manual

Dataman-S6 - User's Manual. Dataman-S6 Compact USB Programmer User's Manual Dataman-S6 Compact USB Programmer User's Manual Contents Chapter 1 Product Description 1-1 Introduction 1-2 Safety Information 1-3 Precautions 1-4 Operating System, Hardware Requirements 1-5 Accessories

More information