From c4d0f723a5d9cfa99d13db6aa8e2f58ca9ffabc5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 2 May 2022 13:37:43 +0200 Subject: [PATCH] kc705: Use full platform import. --- kc705.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kc705.py b/kc705.py index baf8660..bfec3e1 100755 --- a/kc705.py +++ b/kc705.py @@ -10,7 +10,7 @@ import sys from migen import * -from litex_boards.platforms import kc705 +from litex_boards.platforms import xilinx_kc705 from litex.build.generic_platform import * from litex.build.xilinx import VivadoProgrammer @@ -188,10 +188,10 @@ def main(): if not args.build and not args.load: parser.print_help() - os.makedirs("build/kc705/gateware", exist_ok=True) + os.makedirs("build/xilinx_kc705/gateware", exist_ok=True) os.system("cd usb3_core/daisho && make && ./usb_descrip_gen") - os.system("cp usb3_core/daisho/usb3/*.init build/kc705/gateware/") - platform = kc705.Platform() + os.system("cp usb3_core/daisho/usb3/*.init build/xilinx_kc705/gateware/") + platform = xilinx_kc705.Platform() platform.add_extension(_usb3_io) soc = USB3SoC(platform) builder = Builder(soc, csr_csv="csr.csv")