diff --git a/litex/soc/cores/usb_ohci.py b/litex/soc/cores/usb_ohci.py index 8942173234..2ca50daac4 100644 --- a/litex/soc/cores/usb_ohci.py +++ b/litex/soc/cores/usb_ohci.py @@ -131,7 +131,7 @@ def generate_netlist(self): 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: