From 2cd172cc73cf49cd90b3700c799fdd8f03b4ee3c Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 31 Aug 2024 00:00:25 -0700 Subject: [PATCH] tasks.py: add sim directory when running tests So that bluesim can find the DP16KD simulation model. --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index edf25fc..3e7837f 100644 --- a/tasks.py +++ b/tasks.py @@ -182,7 +182,7 @@ def synth(c, target): def test(c, target): for target in expand_test_target(target): 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" c.run(f"bsc -p {out_bsc} -sim -simdir {out_sim} -e mkTB -o {exec}") testdata = out_sim / "testdata"