mirror of
https://github.com/jhshi/openofdm.git
synced 2025-04-16 15:09:02 +00:00
course CFO bug fix
This commit is contained in:
parent
702b0c084f
commit
77e201cfa8
@ -352,10 +352,10 @@ always @(posedge clock) begin
|
||||
end else begin
|
||||
if (next_phase_correction < -PI) begin
|
||||
phase_correction <= next_phase_correction + DOUBLE_PI;
|
||||
phase_correction <= next_phase_correction + DOUBLE_PI + phase_offset;
|
||||
next_phase_correction <= next_phase_correction + DOUBLE_PI + phase_offset;
|
||||
end else begin
|
||||
phase_correction <= next_phase_correction;
|
||||
phase_correction <= next_phase_correction + phase_offset;
|
||||
next_phase_correction <= next_phase_correction + phase_offset;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user