projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca0cb0
)
gen/genlib/cdc: import gcd from math and not fractions (deprecated)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 25 Apr 2017 08:55:13 +0000
(10:55 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 25 Apr 2017 08:55:13 +0000
(10:55 +0200)
litex/gen/genlib/cdc.py
patch
|
blob
|
history
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
"""
-from
fractions
import gcd
+from
math
import gcd
from litex.gen.fhdl.structure import *
from litex.gen.fhdl.module import Module