Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ring counter using d flipflop

Status
Not open for further replies.

ece04

Newbie level 4
Newbie level 4
Joined
Mar 13, 2013
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,321
I am trying t make ring counter in cadence virtuoso using d flipflop.I need to know wht should we do with unconnected pins like clr pin of first flip flop and set pins of rest flipflop.
<a title="ringcounter.png" href="http://obrazki.elektroda.pl/6539339700_1363354309.png"><img src="http://obrazki.elektroda.pl/6539339700_1363354309_thumb.jpg" alt="ringcounter.png" /></a>
 

thank you for reply.I have one more question what should i give as input to reset and clr .I was giving input vdc with 2v and input for vdd is 2.5 v.Is it ok?
 

input to clr should be pulse or constant voltage?I mean vpulse or vdc?
 

input to clr should be pulse or constant voltage?I mean vpulse or vdc?

Constant voltage, you don't need a vdc source, simply connect them to VDD, like all unused inputs of this ring-counter. That's the inactive state, the overbar means the active state is "0" or GND=VSS, which never will be used for unconnected inputs.

The start is initialized by the (negativ going) INIT pulse, which PResets the first output to a logic "1" and CLeaRs the others to a logic "0".
 

A ring counter wants a particular initial load-value or
you can get spurious states especially in very long
ones. I'd recommend using FFs with both set and clear,
tying (say) all but bit 0 resets to a common reset and
the sets inactive, and bit 0 opposite (getting a single
marching-one) or doing this by using N-1 reset-only
'flops and one set-only (this ought to give you better
results when you get to the fault-coverage design
analysis, where tied-off inputs are "untestable").

What you don't want, is multiple "ones" marching so
sparsely that the feedback logic (if any) doesn't
"see" how filthy the pipe is and can't correct it back
to whatever the desired "load" is.

You could also do this without set or reset, using a
data mux scheme. This could make your reset synchronous
(generally a good idea) and ensure that the ring is always
loaded back to initial on count=0 edge (reset being now
a second term in the feedback event).
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top