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

Digital Systems - Assignment 2 Solutions | ECE 333, Assignments of Digital Systems Design

Material Type: Assignment; Class: Digital Systems; Subject: Electrical & Computer Eng.; University: Rose-Hulman Institute of Technology; Term: Fall 2003;

Typology: Assignments

Pre 2010

Uploaded on 08/13/2009

koofers-user-wu4
koofers-user-wu4 🇺🇸

10 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download Digital Systems - Assignment 2 Solutions | ECE 333 and more Assignments Digital Systems Design in PDF only on Docsity! Homework 2 : Please complete Problem 1, 2, 3, and 4 and turn these problems in at the beginning of class on Monday, Sept 22. The solutions to all questions will be posted after class on Monday so that you will have the solutions to study for the exam. I suggest you try to work Prablem 5 and 6 BEFORE looking at the solutions. For problems 2, 3, 5, and 6, please perform each of the following steps: (a) Draw a symbol of the device showing all inputs and outputs. (b) Develop a synthesizable verilog description. (c) Develop a testbench to test the operation of the device (d) Verify that your circuit meets specifications. Please turn in all verilog code and a hardcopy of your simulation results. You can demonstrate proper operation by either a printout of the “monitor” output (the table printed once the simulation has been run) or by a printout of the waveforms (The results of some problems are easier to see one way and the results of other problems are easier to see another). Be sure to annotate your simulation results telling me how your results prove that you have met all specifications. Problem 1: Provide a schematic of the circuit that the following Verilog description should produce. Once you have produced the schematic, answer the following questions. a) Could any lines of code be removed without changing the functionality? Explain your answer b) Under what conditions of A and B is the output 00002? /* * Module comb: * performs combinational logic... * what DOES it do? ah module comb( A, B, O ); Y-bir Ato Compertor p= A A>& x, A Encoder © // inputs input [3:0] A, B; // outputs output [3:0] 0; gq // identifiers wire cl, cg, ce; meq [1:0] 6; reg [3:0] 0; /* Functionality */ assign cl = (A < B); assign ce = (A == B);
Docsity logo



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