From 456cce3ec667c57a94f8add4f75209ec7c669d56 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 25 Apr 2017 10:55:13 +0200 Subject: [PATCH] gen/genlib/cdc: import gcd from math and not fractions (deprecated) --- litex/gen/genlib/cdc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2