florent/versa_ecp5.py remove uneccessary imports, specify actual import
authorCole Poirier <colepoirier@gmail.com>
Sat, 10 Oct 2020 20:38:11 +0000 (13:38 -0700)
committerCole Poirier <colepoirier@gmail.com>
Sat, 10 Oct 2020 20:38:11 +0000 (13:38 -0700)
instead of evil 'import *'

src/soc/litex/florent/versa_ecp5.py

index 660d56ced6a993bff10a03f6d8cead21fe5fcd09..d2e157d79ed687bb8287f2d69beac6c90c69979c 100755 (executable)
@@ -3,14 +3,13 @@
 import os
 import argparse
 
-from migen import *
-
 from litex_boards.platforms import versa_ecp5
 from litex_boards.targets.versa_ecp5 import _CRG, BaseSoC
 
-from litex.soc.integration.soc_core import *
-from litex.soc.integration.soc_sdram import *
-from litex.soc.integration.builder import *
+from litex.soc.integration.soc_sdram import (soc_sdram_args,
+                                             soc_sdram_argdict)
+from litex.soc.integration.builder import (Builder, builder_args,
+                                           builder_argdict)
 
 from libresoc import LibreSoC
 #from microwatt import Microwatt