Thursday, 14 August 2014

Hardware for a counter circuit

2 comments:

  1. In your code count_en is also acting as clear/reset
    ideally when count_en is low, the counter should held counter values.

    else
    count <=3'd0; ??

    ReplyDelete
  2. @ Anonymous: yes, that is the behavior of the counter, it should be count <=count.
    but here it is more intended for the hardware (number if FF )

    ReplyDelete