In which numbering system does this counter count: decimal or binary? Explain your answer.

6. Experimental Work (student’s work starts here)

Question 1. Run the code given in practice example 1 in the online simulator and insert a screenshot of the output. Make sure to change the name of the instructor with your own name. (15 points)

[Insert your screenshot here]

Question 2. Answer the below questions for the Verilog code given in practice example 1. (20 points, 5 points each)

a. What is the initial value of the counter? Explain your answer.

b. In which numbering system does this counter count: decimal or binary? Explain your answer.

c. What is the maximal binary number that this counter can count?

d. What happens in the code if the positive edge of the reset signal and the positive edge of the reset signal happen at the same time.

In which numbering system does this counter count: decimal or binary? Explain your answer.
Scroll to top