Merge pull request #794 from geertu/vexriscv-sbt-failures-are-fatal

cpu/vexriscv_smp: Make sbt failures fatal
This commit is contained in:
enjoy-digital 2021-02-01 15:16:06 +01:00 committed by GitHub
commit 4c1dbf9991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,8 @@ class VexRiscvSMP(CPU):
gen_args.append(f"--netlist-directory={vdir}")
cmd = 'cd {path} && sbt "runMain vexriscv.demo.smp.VexRiscvLitexSmpClusterCmdGen {args}"'.format(path=os.path.join(vdir, "ext", "VexRiscv"), args=" ".join(gen_args))
os.system(cmd)
if os.system(cmd) != 0:
raise OSError('Failed to run sbt')
def __init__(self, platform, variant):
self.platform = platform