From: Florent Kermarrec Date: Tue, 25 Apr 2017 08:55:13 +0000 (+0200) Subject: gen/genlib/cdc: import gcd from math and not fractions (deprecated) X-Git-Tag: 24jan2021_ls180~1860 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=456cce3ec667c57a94f8add4f75209ec7c669d56;p=litex.git gen/genlib/cdc: import gcd from math and not fractions (deprecated) --- diff --git a/litex/gen/genlib/cdc.py b/litex/gen/genlib/cdc.py index 6e7b0ad8..2f9efabc 100644 --- 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