gen/genlib/cdc: import gcd from math and not fractions (deprecated)
This commit is contained in:
parent
3ca0cb0cea
commit
456cce3ec6
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Clock domain crossing module
|
||||
"""
|
||||
from fractions import gcd
|
||||
from math import gcd
|
||||
|
||||
from litex.gen.fhdl.structure import *
|
||||
from litex.gen.fhdl.module import Module
|
||||
|
|
Loading…
Reference in New Issue