|
Home
| |
This page contains links to
documents
,xilinix projects and
components developed by the project, and to other tools we've found useful and collected here for
your convenience.

Handout number 1
Handout(cc312intro.doc)
Assignment number 1
Problem 4.1
Problem 4.2
Problem 4.3
Problem 4.6
A digital computer has a common bus system for 16 registers of 32 bits each.
The bus is constructed with multiplexers.
a.How many selection inputs are there in each multiplexers.
b.What size of multiplexers are needed?
How many multiplexers are there in the bus?
Solution
First, if we want to choose between 16 registers(sources) then we should use
a multiplexer. The ceil(log2(16))=4. So selection inputs=4.
As 2 to the power 4=16 then the
multiplexer will be of size 16x1.
As we know the 16x1 Multiplexer can select between 16 bits and
outputs one of them. So if we put one multiplexer it can work
on the one bit only of each register, lets say bit0.
As we want the other bits of the register also to be come out
simultanously, we need 32 MUX. Each MUX will work on a certain
bit in the 16 registers.
MUX0 will work on bit0 in each register,
MUX1 will work on bit1 in each register,
MUX2 will work on bit2 in each register,
...
MUX31 will work on bit31 in each register.
Problem 4.7
The following transfer statements specify a memory.
Explain the memory operation in each case
- R2<--M[AR]
- M[AR]<--R3
- R5<--M[R5]
Solution
- Reads from memory a word located at the address written in AR
and transfers it (or copies it)
to the register R2.
- Writes the contents of register R3 into the memory location
addressed by the register
contents AR.
- Register R5 holds a value, which is an address to a certain
memory location.So addressing this location with the read
bit high makes it possible to transfer the contents of
this location ( that is addressed by R5) to register R5.
Back to Top

First Multiplexer using ANDs and ORs
Second Multiplexer using Buffers and a decoder

HTML web page (HyperText Markup Language)
.ps PostScript
.doc Microsoft Word
.rtf Rich Text
.zip archive file for Windows
.tar archive file for UNIX
|