projects
/
litex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gen/genlib/cdc: import gcd from math and not fractions (deprecated)
[litex.git]
/
litex
/
gen
/
genlib
/
cdc.py
diff --git
a/litex/gen/genlib/cdc.py
b/litex/gen/genlib/cdc.py
index 6e7b0ad8b5a7b947e6d8817168b07efd96dca262..2f9efabc2b5c4958bb853050e853bb3d1de65cc8 100644
(file)
--- a/
litex/gen/genlib/cdc.py
+++ b/
litex/gen/genlib/cdc.py
@@
-1,7
+1,7
@@
"""
Clock domain crossing module
"""
"""
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
from litex.gen.fhdl.structure import *
from litex.gen.fhdl.module import Module