ptp: Fix typo in PTP TD model

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2026-02-12 23:11:13 -08:00
parent c247b3fc7a
commit 9c51c6e275

View File

@@ -108,7 +108,7 @@ class PtpTdSource(Reset):
self.ts_fns = int(ts_fns) self.ts_fns = int(ts_fns)
self.ts_tod_updated = True self.ts_tod_updated = True
def set_ts_tod_64(self, ts): def set_ts_tod_96(self, ts):
ts = int(ts) ts = int(ts)
self.set_ts_tod(ts >> 48, (ts >> 32) & 0x3fffffff, (ts & 0xffff) << 16) self.set_ts_tod(ts >> 48, (ts >> 32) & 0x3fffffff, (ts & 0xffff) << 16)