soc/integration/builder: call do_exit with vns when build is done.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 10 Sep 2019 10:41:05 +0000 (12:41 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 10 Sep 2019 10:41:05 +0000 (12:41 +0200)
litex/soc/integration/builder.py

index b656f99836e4a7b56e3bacf4a8d6f8a4f2cacb08..3c171950f16fb4306d387fe4d9b8466e17c38044 100644 (file)
@@ -194,6 +194,7 @@ class Builder:
             kwargs["run"] = self.compile_gateware
         vns = self.soc.build(build_dir=os.path.join(self.output_dir, "gateware"),
                              toolchain_path=toolchain_path, **kwargs)
+        self.soc.do_exit(vns=vns)
         return vns