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.

i dono how to take the output for this phase frequency dectector

Status
Not open for further replies.

gkj

Newbie level 6
Joined
Oct 17, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,366
module pfd (qinc, qdec, active, ref, reset);
output qinc, qdec;
input reset, active, ref;
wire fv_rst, fr_rst;
reg q0, q1;

assign fr_rst = reset | (q0 & q1);
assign fv_rst = reset | (q0 & q1);

always @(posedge active or posedge fv_rst) begin
if (fv_rst) q0 <= 0; else q0 <= 1;
end

always @(posedge ref or posedge fr_rst) begin
if (fr_rst) q1 <= 0; else q1 <= 1;
end

assign qinc = q1;
assign qdec = q0;
endmodule
this is my code for phase frequency dectector i dono how to identify the output and how to give the output
 

Uh, the output of your module is qinc and qdec.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top