gen/genlib/cdc: import gcd from math and not fractions (deprecated)

This commit is contained in:
Florent Kermarrec 2017-04-25 10:55:13 +02:00
parent 3ca0cb0cea
commit 456cce3ec6
1 changed files with 1 additions and 1 deletions

View File

@ -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