fpga: rfnoc: Fix PPS edge detection
Make timekeeper module sample rising edge instead of falling edge of PPS signal. Signed-off-by: michael-west <michael.west@ettus.com> Original-commit: b6c7e99830f10c21262247cafa3e077fe3f54119
This commit is contained in:
@@ -244,7 +244,7 @@ module timekeeper #(
|
||||
pps_edge <= 0;
|
||||
end else begin
|
||||
pps_del <= pps;
|
||||
pps_edge<= pps_del & ~pps;
|
||||
pps_edge<= pps & ~pps_del;
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user