Skip to content

Commit

Permalink
[nix] fix waveform installation
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <dev@avimit.in>
  • Loading branch information
Avimitin committed Jan 23, 2025
1 parent a336a16 commit 15d80b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
run: echo "out=$(nix run .#ci-helper -- generateTestPlan --top t1rocketemu)" > $GITHUB_OUTPUT

build-t1rocketemu-vcs-emulators:
name: "[T1EMU] Build VCS trace emulators"
name: "[T1RocketEMU] Build VCS trace emulators"
needs: [gen-test-plan-for-t1rocketemu]
runs-on: [self-hosted, linux, nixos, BIGRAM]
strategy:
Expand Down Expand Up @@ -144,6 +144,6 @@ jobs:
nix build '.#t1.${{ matrix.config }}.t1rocketemu.verilator-emu-trace' --impure --no-link --cores 64
nix build '.#t1.${{ matrix.config }}.t1rocketemu.run.mlir.hello.verilator-emu-trace' --impure
if [[ ! -r ./result/wave.fst ]]; then
echo "FAIL: wavefor not found" >&2
echo "FAIL: waveform not found" >&2
exit 1
fi
5 changes: 4 additions & 1 deletion nix/t1/run/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ let
"-assert"
"global_finish_maxfail=10000"
"+t1_elf_file=${testCase}/bin/${testCase.pname}.elf"
"+t1_wave_path=$out/${testCase.pname}.fsdb"
"+t1_wave_path=${testCase.pname}.fsdb"
];
postInstall = ''
cp -v ${testCase.pname}.fsdb $out/
'';
inherit testCase;
};

Expand Down

0 comments on commit 15d80b1

Please sign in to comment.