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

Output Pin - Introduction to Digital Systems Desig - Homework Solutions, Exercises of Digital Systems Design

Some concept of Introduction to Digital Systems Design are Alice and Brian, Combinational Logic, k-input Gate, Boolean Function, Variable Function. Main points of this homework are: Output Pin, Computer Chip, Printed Circuit, Output Pins, Verilog Code, Output Driver, Adder Exhaustively, Error Encountered, Testbench Prints, Print Out

Typology: Exercises

2012/2013

Uploaded on 04/30/2013

bassu
bassu 🇮🇳

4.5

(42)

137 documents

1 / 4

Related documents


Partial preview of the text

Download Output Pin - Introduction to Digital Systems Desig - Homework Solutions and more Exercises Digital Systems Design in PDF only on Docsity! Introduction to Digital System Design Assignment #5 1. Consider an output pin of a computer chip A. It is connected to a wire on the printed circuit board. The other end of the wire is connected to the output pin of another chip B. We focus our attention on the circuits that drive the output pins of chip A and chip B (these circuits are called output drivers). (a) Why do the output drivers need to be able to drive a high impedance value? (b) How many input signals would each output driver need? What is the functionality of each of these signals? (c) Write the Verilog code for the output driver of chip A. 2. Consider a gadget that I want to design. The gadget has an input R. A 4-bit counter is reset when R is high. There is a signal CLK , and whenever there is a rising edge of CLK , I increment the count (provided R is not low). A f nal input to the gadget is S, and when this signal is high, the count is frozen. Write the Verilog code for this gadget. 3. Suppose you have a 3-bit adder, implemented in Verilog. The inputs to this adder are X and Y , and the output is Z . Write a testbench which will test the adder exhaustively. In other words, the testbench applies all possible inputs to the adder, and tests that the output from the adder is as expected. If there are no errors, the testbench prints out ”All tests passed”. Otherwise it prints out ”Error encountered”. The testbench does not print out any other information. 1 Docsity.com up A cup B ») mwrot a oupub aewes (shovm as —p>- Te per opposite, volua. If Te Boy chad careusf bebween VED ona GND. ar a WZ Volt: are VAR Tf thre aver WA wo ene ro a Le eZ Hn We dren Cf and vice versa poe te bugrft butt -m gate tp moke dfe seo | Docsity.com
Docsity logo



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