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.

Divide by two counter using D-Latch

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
divide by 2 counter

How can i design divide by two counter using D-Latch
 

design a divide by two counter using d-latch

_____________________________________________________
_____________________________________________________
 

d latch

Here is the 'code' for a D-latch.

Note that a D-latch is typically something you DON'T want in a FPGA design.
FPGA designs use clocked latches (flipflops), and not this D-latch type (which is not edge sensitive but level sensitive).

Code:
  process (c, d)
  begin
    if (c = '1') the
      q <= d;
    end if;
  end process;
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top