aller/neired/tagus: fix gateware/software build directory

This commit is contained in:
Florent Kermarrec 2019-12-14 11:29:15 +01:00
parent c49693fdf3
commit 7184032555
3 changed files with 6 additions and 6 deletions

View file

@ -190,10 +190,10 @@ class AllerSoC(SoCSDRAM):
def main():
platform = aller.Platform()
soc = AllerSoC(platform)
builder = Builder(soc, output_dir="../build/aller", csr_csv="../build/aller/csr.csv",
builder = Builder(soc, output_dir="aller", csr_csv="aller/csr.csv",
compile_gateware=not "no-compile" in sys.argv[1:])
vns = builder.build(build_name="aller")
soc.generate_software_header("../software/kernel/csr.h")
soc.generate_software_header("aller/csr.h")
if __name__ == "__main__":

View file

@ -187,10 +187,10 @@ class NereidSoC(SoCSDRAM):
def main():
platform = nereid.Platform()
soc = NereidSoC(platform)
builder = Builder(soc, output_dir="../build/nereid", csr_csv="../build/nereid/csr.csv",
builder = Builder(soc, output_dir="nereid", csr_csv="nereid/csr.csv",
compile_gateware=not "no-compile" in sys.argv[1:])
vns = builder.build(build_name="nereid")
soc.generate_software_header("../software/kernel/csr.h")
soc.generate_software_header("nereid/csr.h")
if __name__ == "__main__":

View file

@ -188,10 +188,10 @@ class TagusSoC(SoCSDRAM):
def main():
platform = tagus.Platform()
soc = TagusSoC(platform)
builder = Builder(soc, output_dir="../build/tagus", csr_csv="../build/tagus/csr.csv",
builder = Builder(soc, output_dir="tagus", csr_csv="tagus/csr.csv",
compile_gateware=not "no-compile" in sys.argv[1:])
vns = builder.build(build_name="tagus")
soc.generate_software_header("../software/kernel/csr.h")
soc.generate_software_header("tagus/csr.h")
if __name__ == "__main__":