if self.gateware_toolchain_path is not None:
toolchain_path = self.gateware_toolchain_path
- self.soc.build(build_dir=os.path.join(self.output_dir, "gateware"),
- run=self.compile_gateware, toolchain_path=toolchain_path,
- **kwargs)
+ vns = self.soc.build(build_dir=os.path.join(self.output_dir, "gateware"),
+ run=self.compile_gateware, toolchain_path=toolchain_path,
+ **kwargs)
+ return vns
def builder_args(parser):
self.comb += self.cpu_or_bridge.interrupt[v].eq(getattr(self, k).ev.irq)
def build(self, *args, **kwargs):
- self.platform.build(self, *args, **kwargs)
+ return self.platform.build(self, *args, **kwargs)
def soc_core_args(parser):