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.

Interview Question: Delaying Negative Edge Of Input By Two Cycles

Status
Not open for further replies.

spartanthewarrior

Full Member level 2
Joined
Jun 13, 2007
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,142
Hi All,

There is a interview question

You have a flip flop with clock and signal (A) as an input.

At output we have to delay (negedge) of signal (A) by (2) clock cycles.

Assume: At input signal (A) is high for (3) clock cycles.
 

You don't have to do anything special, just put another FF after the first one, and it should do.
 

Hmm.. Only neg-edge huh.. How about this. The flop has a clock-gating cell in front of it. When A is HIGH, clock-gate always active. When A is LOW, clock-gate ENABLE delayed by 2 clock-cycles.
Do you think this will work?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top