mirror of
https://github.com/Dasharo/litex.git
synced 2026-03-06 14:58:06 -08:00
cpu/Vexriscv-smp fix silent generation failure
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
import os
|
||||
from os import path
|
||||
import subprocess
|
||||
|
||||
from migen import *
|
||||
|
||||
@@ -270,8 +271,8 @@ class VexRiscvSMP(CPU):
|
||||
gen_args.append(f"--itlb-size={VexRiscvSMP.itlb_size}")
|
||||
|
||||
cmd = 'cd {path} && sbt "runMain vexriscv.demo.smp.VexRiscvLitexSmpClusterCmdGen {args}"'.format(path=os.path.join(vdir, "ext", "VexRiscv"), args=" ".join(gen_args))
|
||||
if os.system(cmd) != 0:
|
||||
raise OSError('Failed to run sbt')
|
||||
subprocess.check_call(cmd, shell=True)
|
||||
|
||||
|
||||
def __init__(self, platform, variant):
|
||||
self.platform = platform
|
||||
|
||||
Reference in New Issue
Block a user