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 --- Design a black box...

Status
Not open for further replies.

jayanth03

Newbie level 4
Joined
Jul 21, 2006
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,335
Design a black box whose input clock and output relationship as shown in attachment.
I think I know how do do it using HDL...

In Verilog: Output = repeat (2) @ (posedge clk) clk

Can some one please tell me how to design this using logic gates and FF's.

Thanks
Jayanth
 

This is the way!

Code:
        +------------+
        |            |
        |  +-----+   |
        +--|D   Q|---|---+
           |     |   |   |       _____
           |     |   |   +------|     \
 CLK       |     |   |          |      )---- OUT
 ----+-----|>  /Q|---+   +------|_____/
     |     +-----+       |
     |                   |
     |   +------------+--+
     |   |            |
     |   |  +-----+   |
     |   +--|D   Q|   |    
     |      |     |   |
     |      |     |   |
     |      |     |   |
     +-----o|>  /Q|---+
            +-----+
 
Give D input to D filp flop --> xor of clk and Q(OUT)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top