This preview shows pages 1–3. Sign up to view the full content.
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 Answers 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. CMPT250 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: 1 1 Time (ns) a b 5 10 15 20 25 30 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 sheetit will make it a lot easier to keep the signals and timing straight....
View
Full
Document
 Spring '97
 various

Click to edit the document details