This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CMPT 250 Midterm 1 February 15, 2002 • You have 50 minutes to complete this exam. • Please answer all questions in this question sheet. You may continue your answers on the backs of pages if necessary. • There is a total of 45 points on this exam; points for each question are indicated. • Read through the entire exam before you begin. • There are 7 pages ( not counting this page); make sure you have them all. • No books, calculators or any other aids are allowed. • Where appropriate, clarity and simplicity of your solutions count, as well as correctness. CMPT-250 Midterm 1, Feb. 15, 2002 1. [10 points] Suppose we created three different circuits. All of them start with this entity declara- tion: 1 library ieee; 2 use ieee.std_logic_1164.all; 3 entity ent is 4 port ( 5 a, b : in std_logic; 6 x, y : out std_logic); 7 end ent; Also suppose we created a test bench that sends in these input signals: 5 10 15 20 25 30 1 1 Time (ns) a b The implementations below cause different output. You have to determine what the outputs (and other signals) are. Hint: copy the a and b input signals onto your output sheet—it will make it a lot easier to keep the signals and timing straight.sheet—it will make it a lot easier to keep the signals and timing straight....
View Full Document
This note was uploaded on 01/16/2010 for the course CS 251 taught by Professor Various during the Spring '97 term at Simon Fraser.
- Spring '97