soc/integration: return vns with soc and builder
This commit is contained in:
parent
2c32791a28
commit
002508a69a
|
@ -154,9 +154,10 @@ class Builder:
|
|||
|
||||
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"),
|
||||
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):
|
||||
|
|
|
@ -201,7 +201,7 @@ class SoCCore(Module):
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue