mirror of https://github.com/m-labs/artiq.git
coredevice.ttl: add missed int64 conversion.
This commit is contained in:
parent
7ff0c89d51
commit
6e44c5424d
|
@ -238,7 +238,7 @@ class TTLClockGen:
|
||||||
|
|
||||||
# in RTIO cycles
|
# in RTIO cycles
|
||||||
self.previous_timestamp = int(0, width=64)
|
self.previous_timestamp = int(0, width=64)
|
||||||
self.acc_width = 24
|
self.acc_width = int(24, width=64)
|
||||||
|
|
||||||
@portable
|
@portable
|
||||||
def frequency_to_ftw(self, frequency):
|
def frequency_to_ftw(self, frequency):
|
||||||
|
|
Loading…
Reference in New Issue