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.

how do u make D-flip flop ?

Status
Not open for further replies.

thverda

Newbie level 1
Joined
Feb 7, 2013
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Activity points
1,280
i made a simple D-flip flop.


=========================
module dff(Q,C,CE,CLR,D);

output Q;
input C;
input CE;
input CLR;
input D;
reg Q;
always@(posedge C)
Q=D;

endmodule


======================

but i wanna make a feedback D-flip flop.
 

Your not referring to this are you?
**broken link removed**

I would advise against doing this in an FPGA, or an ASIC (unless you're designing the cell library for said ASIC).
 

um. actually i want to make it. if u go to this site. u can see it.

https://cafe.naver.com/veryveryverilog/8


but i dont know how i make it . ( verilog)

input D;
output Q;

for example,

Q=D; this is possible.

but D=Q; this is not possible.

huhuhuhuhu....
 

your drawing translates to:

Code:
always @ (posedge c) Q <= ~Q;

...a divide by two.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top