tasks.py: add sim directory when running tests
So that bluesim can find the DP16KD simulation model.
This commit is contained in:
parent
efb5327f53
commit
2cd172cc73
2
tasks.py
2
tasks.py
|
@ -182,7 +182,7 @@ def synth(c, target):
|
||||||
def test(c, target):
|
def test(c, target):
|
||||||
for target in expand_test_target(target):
|
for target in expand_test_target(target):
|
||||||
out_info, out_sim, out_bsc = ensure_build_dirs(target, "info", "sim", "bsc")
|
out_info, out_sim, out_bsc = ensure_build_dirs(target, "info", "sim", "bsc")
|
||||||
c.run(f"bsc -show-schedule -aggressive-conditions -check-assert -u -sim -info-dir {out_info} -simdir {out_sim} -bdir {out_bsc} -g mkTB -p {target.parent}:lib:%/Libraries {target}")
|
c.run(f"bsc -show-schedule -aggressive-conditions -check-assert -u -sim -info-dir {out_info} -simdir {out_sim} -bdir {out_bsc} -g mkTB -p {target.parent}:lib:sim:%/Libraries {target}")
|
||||||
exec = out_sim / "TB"
|
exec = out_sim / "TB"
|
||||||
c.run(f"bsc -p {out_bsc} -sim -simdir {out_sim} -e mkTB -o {exec}")
|
c.run(f"bsc -p {out_bsc} -sim -simdir {out_sim} -e mkTB -o {exec}")
|
||||||
testdata = out_sim / "testdata"
|
testdata = out_sim / "testdata"
|
||||||
|
|
Loading…
Reference in New Issue