Skip to content

Commit f06167a

Browse files
committed
Merge branch 'master' of https://github.com/ConchuOD/fpga_adpll
2 parents 2a540f4 + a890d75 commit f06167a

13 files changed

+245
-460
lines changed

design_sources/LoopFilter.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module LoopFilter #(
2828

2929
localparam KP_MULT_RES_WIDTH = ERROR_WIDTH+KP_WIDTH;
3030
localparam KI_MULT_RES_WIDTH = ERROR_WIDTH+KI_WIDTH;
31-
localparam KI_ACCUM_OVERHEAD = 1; //integration accumulator extra width
31+
localparam KI_ACCUM_OVERHEAD = 0; //integration accumulator extra width
3232
localparam SUM_WIDTH = KI_MULT_RES_WIDTH;
3333

3434
//gains

design_sources/ThreeByThreeRingTest.v

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ module ThreeByThreeRingTest (
3030
localparam ACCUM_WIDTH = 12;
3131

3232
localparam KP_WIDTH = 8;
33-
localparam KP_FRAC_WIDTH = 4;//<4 is a no can do //7 for older tests @1111 = 4@0001
33+
localparam KP_FRAC_WIDTH = 4; //<4 is a no can do for K?_FRAC_WIDTH with LoopFilter
3434
localparam KI_WIDTH = 10;
35-
localparam KI_FRAC_WIDTH = 5; //8 for older tests @1111 = 4@0001
35+
localparam KI_FRAC_WIDTH = 6; //and for K?_WIDTH with LoopFilterFrac
3636

3737
//oscilloscope analysais buses
3838
wire reset_x;

integer_lf.pdf

529 Bytes
Binary file not shown.

integer_lf.svg

+13-20
Loading

network_adpll.pdf

15.8 KB
Binary file not shown.

network_adpll.png

-27.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)