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
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
 

kvingle

Full Member level 5
Full Member level 5
Joined
Nov 5, 2007
Messages
244
Helped
33
Reputation
66
Reaction score
12
Trophy points
1,298
Location
India.
Activity points
2,574
design a divide by two counter using d-latch

_____________________________________________________
_____________________________________________________
 

Marcel Majoor

Full Member level 2
Full Member level 2
Joined
Jan 17, 2004
Messages
148
Helped
69
Reputation
138
Reaction score
39
Trophy points
1,308
Activity points
1,569
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

Top