From 5d9dd1059d31379d315704bc7b2e3dbdb482983a Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Tue, 12 Sep 2023 10:41:47 +0200 Subject: [PATCH] core/usb_ohci fix generation --- litex/soc/cores/usb_ohci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/usb_ohci.py b/litex/soc/cores/usb_ohci.py index 894217323..2ca50daac 100644 --- a/litex/soc/cores/usb_ohci.py +++ b/litex/soc/cores/usb_ohci.py @@ -131,7 +131,7 @@ class USBOHCI(LiteXModule): gen_args.append(f"--netlist-name={self.get_netlist_name()}") gen_args.append(f"--netlist-directory={vdir}") - cmd = 'cd {path} && sbt "runMain spinal.lib.com.usb.ohci.UsbOhciWishbone {args}"'.format( + cmd = 'cd {path} && sbt "lib/runMain spinal.lib.com.usb.ohci.UsbOhciWishbone {args}"'.format( path=os.path.join(vdir, "ext", "SpinalHDL"), args=" ".join(gen_args)) print("!!! " + cmd) if os.system(cmd) != 0: