TD 02
TD 02
Set of exercises 02
Exercise 01:
Add the following positive integers directly in binary. Indicate which cases result in an overflow
in the 8-bit representation (Overflow: capacity exceeded). And discuss how swap memory could
be utilized to manage overflow situations.
Exercise 02:
We want to create a monitoring system using a ROM to keep track of 5 rooms. This system
receives input signals from the 5 rooms (R0, R1, R2, R3, R4). The system operates as follows:
An output Active that goes to 1 as soon as any of the Ri signals are active.
Two output signals, Room1 and Room0 that provide the binary code representing the
highest-priority room with activity.
Task:
Exercise 03:
Design a circuit that can perform both multiplication and division on two 2-bit numbers, A
(A1,A0) and B (B1, B0).
Both multiplication and division are to be processed simultaneously, and the control C selects
which result to output based on the operation needed.
Task:
1
Exercise 04:
You have a RAM memory whose case features a 16-bit address bus and an 8-bit data bus.
Task:
4. What is the size of this memory in bytes for each of the following cases: