Merge pull request #41 from lromor/fix-wrong-import

Changed wrong imports for fomu board.
This commit is contained in:
Sean Cross 2020-02-12 18:48:13 +07:00 committed by GitHub
commit f72e7bd314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,11 +177,11 @@ class BaseSoC(SoCCore):
Newly-constructed SoC Newly-constructed SoC
""" """
if board == "pvt": if board == "pvt":
from litex_boards.partner.platforms.fomu_pvt import Platform from litex_boards.platforms.fomu_pvt import Platform
elif board == "hacker": elif board == "hacker":
from litex_boards.partner.platforms.fomu_hacker import Platform from litex_boards.platforms.fomu_hacker import Platform
elif board == "evt": elif board == "evt":
from litex_boards.partner.platforms.fomu_evt import Platform from litex_boards.platforms.fomu_evt import Platform
else: else:
raise ValueError("unrecognized fomu board: {}".format(board)) raise ValueError("unrecognized fomu board: {}".format(board))
platform = Platform() platform = Platform()