Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS 266: Computer Architecture I - Homework 4 Solutions - Prof. Mitchell D. Theys, Study notes of Computer Architecture and Organization

The solutions to homework 4 of the computer architecture i course offered by the university of illinois at chicago in fall 2012. The homework includes three questions: designing a combinational circuit to convert a binary number to bcd, designing a 5-to-32-line decoder using four 3-to-8-line decoders and a 2-to-4-line decoder, and designing a dual 8-to-1-line multiplexer using a 3-to-8-line decoder and two 8x2 and-ors. The document also includes the k-map tables and circuit diagrams for the combinational circuits.

Typology: Study notes

2011/2012

Uploaded on 12/16/2012

billyking100
billyking100 🇺🇸

3

(2)

39 documents

1 / 5

Toggle sidebar

Related documents


Partial preview of the text

Download CS 266: Computer Architecture I - Homework 4 Solutions - Prof. Mitchell D. Theys and more Study notes Computer Architecture and Organization in PDF only on Docsity! University of Illinois at Chicago CS 266: Computer Architecture I Fall 2012 Homework 4 Solutions Question 1 [25 points] Design a combinational circuit that converts a binary number of four bits to a decimal number n BCD. Note that the BCD number is the same as the binary number as long as the input is less than or equal to 9. The binary number from 1010 to 1111 converts into BCD numbers from 1 0000 to 1 0101. Decimal Binary BCD          0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 2 0 0 1 0 0 0 0 1 0 3 0 0 1 1 0 0 0 1 1 4 0 1 0 0 0 0 1 0 0 5 0 1 0 1 0 0 1 0 1 6 0 1 1 0 0 0 1 1 0 7 0 1 1 1 0 0 1 1 1 8 1 0 0 0 0 1 0 0 0 9 1 0 0 1 0 1 0 0 1 10 1 0 1 0 1 0 0 0 0 11 1 0 1 1 1 0 0 0 1 12 1 1 0 0 1 0 0 1 0 13 1 1 0 1 1 0 0 1 1 14 1 1 1 0 1 0 1 0 0 15 1 1 1 1 1 0 1 0 1 We would like to represent each of  ,  , , ,  as function of  ,  , , , . For each  we build the k-map.  =  +   = ̅ AB CD 00 01 1 11 10 1 1 1 00 01 11 10 1 1 AB CD 00 01 1 11 10 00 01 11 10 1  = ̅ +   = ̅ + ̅  =  Therefore we know how to represent a BCD number based on bits from binary representation:  =  +   = ̅  = ̅ +   = ̅ + ̅  =  And the circuit is: AB CD 00 01 1 11 10 1 1 1 00 01 11 10 1 1 AB CD 00 01 1 11 10 1 1 1 00 01 11 10 1 1 AB CD 00 01 1 1 11 10 1 1 1 00 01 11 10 1 1 1
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved