Concepts to learn:

Each counter must be parameterizable for counter bit width. All results in below questions must be verified from Waveform. All submissions should have waveform put in word document with questions title.

  1. DFF implementation
    1. Implement DFF using behavioural and gate level.
      1. Ports: clk, rst, d, q
      1. Synchronous reset DFF
      1. Asynchronous reset DFF
    1. DFF Gate level implementation
International Journal of Soft Computing and Engineering
  1. Implement Current value using 3 bit register(since 3 bit counter)
    1. Implement next value using 3 bit register (next_count[2:0])
    1. Use Karnaugh map for each bit of next_count[2:0]

Ex:

Write logic for Next_count[1], Next_count[0]

Now come up with logic for next_count[2,1,0] using count

Next_count[2] <= (~count[0]&count[2]) | (count[0] & ~count[1])

Similarly come up with logic for next_count[1], next_count[0]

  1. Implement Current value using 3 bit register & up_down(since 3 bit counter)
    1. Implement next value using 3 bit register (next_count[2:0])
    1. Use Karnaugh map for each bit of next_count[2:0] using count and up_down
Course Registration