0% found this document useful (0 votes)
44 views2 pages

Digital Logic Lab Assignment

The document provides instructions for a digital logic lab assignment with 3 questions. Question 1 asks to design a D flip-flop bidirectional counter. Question 2 asks to implement a 4Kbyte memory unit using RAM chips. Question 3 asks to design an embedded system to display fuel levels in a tank using a 4-bit sensor and only NAND gates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Digital Logic Lab Assignment

The document provides instructions for a digital logic lab assignment with 3 questions. Question 1 asks to design a D flip-flop bidirectional counter. Question 2 asks to implement a 4Kbyte memory unit using RAM chips. Question 3 asks to design an embedded system to display fuel levels in a tank using a 4-bit sensor and only NAND gates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

University of the West Indies (Cave Hill)

Department of Computer Science, Mathematics and Physics


Computer System Architecture (COMP2220)
Digital Logic Lab Assignment
INSTRUCTIONS: Attempt all questions and show ALL working. You are required to
submit both the MSWord file (containing embedded pictures/diagrams/tables & working)
and the *.circ Logisim file in a zipped document.
SUBMISSION DATE: 11:55pm, Monday, March 14, 2024. (REVISED)
SUBMISSION POLICY
All submissions will be done electronically via the course site. A 10% penalty will be
imposed on the first day that the submission is late. A further 5% penalty will be imposed
for each weekday thereafter, up to a maximum of seven days. Assignments more than seven
weekdays late will not be accepted. Exceptions are granted only to those persons providing
a medical certificate that covers the submission date.
PLAGIARISM AND COLLUSION POLICY: All submissions must be the sole work of the
author. Students found to be in breach of this will receive zero.

Question 1
Explain the operation of the D flip-flop. Design and implement a D flip-flop
bidirectional counter which produces the following repeated binary sequence: 0, 7, 1,
6, 2, 5.
[16 marks]
Question 2
Implement a four Kbyte memory unit using eight 512 x 8-bit RAM chips. Be sure to
provide a table which shows the address ranges of each RAM chip and an explanation
of how the unit works. You may use the RAM chips from within Logisim but any other
components (if required) must by designed and implemented using basic logic gates
only. Assume byte level addressing.
[15 marks]
Question 3
Greg and Greg (G&G) is a locally owned company that specializes in making fuel
tanks for gas operated Radio Controlled (RC) recreational vehicles (see Figure 1).
Their newest tank contains a four-bit (4) sensor that indicates the level of gasoline (G)
in the tank. G&G has challenged your team to design and implement an embedded
system to display the levels of gasoline (G) in their tank according to the specifications
provided in Table 1 below. Unfortunately, only 2-Input NAND gates are available for
the actual implementation. Hint: If the sensor reads 0000 then G = 0 (i.e., the tank is
empty). Similarly, 1111, indicates that the tank is full.

Page 1 of 2
Condition Desired System Response
G ≥ ¾ tank Low(L), Quarter (Q), ¾ (T) and Full (F) tank LEDs are active
½ tank ≤ G < ¾ tank Low(L), Quarter (Q), and ¾ (T) tank LEDs are active
¼ tank ≤ G < ½ tank Low(L) and Quarter (Q) tank LEDs are active
G < ¼ tank Only the Low (L) LED is active
G=0 No LEDs are active
Table 1 - Design Specifications

F
T
Q
L

Figure 1 - G&G Fuel Tank

[14 marks]

* End of Lab*

Page 2 of 2

You might also like