question on counter:

33 views
Skip to first unread message

Satish Devrari

unread,
May 10, 2013, 9:58:39 AM5/10/13
to vlsiat...@googlegroups.com
Question :-
i made a counter in verilog 

always @(posedge clk)
if (rst)
count <=0 ;
else
count <= count + 1;

pls tell me  is this synchronous counter or asynchronous . is there any effect of rst to make this counter synchronous or asynchronous .

 

Silicon Guru

unread,
May 13, 2013, 1:13:41 AM5/13/13
to vlsiat...@googlegroups.com
Good question..
This is a Synchronous counter, in all aspects.
The async counters are generally ripple counters, which counts asynchronously.
By adding reset in the sensiticity list you can make another type of sync counter,which can be reset asynchronously.



--
You received this message because you are subscribed to the Google Groups "vlsiatincise" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vlsiatincise...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jatin Arora

unread,
May 14, 2013, 5:45:12 AM5/14/13
to vlsiat...@googlegroups.com
Dear Satish,

This is a synchronous counter.
Here transaction is only depend on the clock.

Regards
Jatin
Reply all
Reply to author
Forward
0 new messages