Skip to content

Commit

Permalink
[nix] fix circt for t1rocket
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin authored and Clo91eaf committed Aug 24, 2024
1 parent 49db4ec commit 38ace83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions t1rocketemu/nix/rtl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ stdenvNoCC.mkDerivation {
mkdir -p $out
firtool ${mlirbc} ${mfcArgs} -o $out
# FIXME: https://github.com/llvm/circt/pull/7543
echo "Fixing generated filelist.f"
cp $out/filelist.f original.f
cat $out/firrtl_black_box_resource_files.f original.f > $out/filelist.f
pushd $out
find . -mindepth 1 -name '*.sv' -type f > $out/filelist.f
popd
'';
}

0 comments on commit 38ace83

Please sign in to comment.