OpenCores
URL https://opencores.org/ocsvn/dpll-isdn/dpll-isdn/trunk

Subversion Repositories dpll-isdn

[/] [dpll-isdn/] [trunk/] [Sources/] [dpll.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dmsu
 
2
/* Top module */
3
module dpll(SignalIn, SignalOut, MainClock,
4
            Positive, Negative, Lead, Lag
5
            );
6
input  SignalIn;                // input signal
7
input  MainClock;               // reference signal
8
output SignalOut;               // output
9
output Positive, Negative;      // internal DPLL signals
10
output Lead, Lag;               // internal DPLL signals
11
 
12
// phase comparator 
13
phasecomparator inst_ph_cmp(.MainClock(MainClock), .InputSignal(SignalIn),
14
                            .OutputSignal(SignalOut), .Lead(Lead), .Lag(Lag)
15
                            );
16
/*
17
// "Zero-Reset Random Walk Filter"
18
randomwalkfilter inst_zrwf(.MainClock(MainClock), .Lead(Lead), .Lag(Lag),
19
                           .Positive(Positive), .Negative(Negative)
20
                           );
21
*/
22
 
23
// "Variable-Reset Random Walk Filter"
24
variableresetrandomwalkfilter inst_zrwf(.MainClock(MainClock), .Lead(Lead), .Lag(Lag),
25
                           .Positive(Positive), .Negative(Negative)
26
                           );
27
 
28
// controlled frequency divider
29
freqdivider inst_freqdiv(.MainClock(MainClock), .FrequencyOut(SignalOut),
30
                           .Positive(Positive), .Negative(Negative)
31
                           );
32
 
33
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.