This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: true and x and not y or z B”101110” sll 3 (B”100010” sra 2) & X”2C” EEE333 HW#2 Charles Wong Chapter 2. Exercises 1, 6, 7, 8 Chapter 4. Exercise 4. Chapter 5. Exercise 3, 4 8. Write a counter model with a clock input clk of type bit , and an output q of type integer . The behavioral architecture body should contain a process that declares a count variable initialized to zero. The process should wait for changes on clk . When clk changes to ‘1’, the process should increment the count and assign its value to the output port....
View Full Document
- Spring '08
- Natural number, clock input clk