Skip to content

Commit

Permalink
Nextpnr: add himbaechel target
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilykuzmin authored and thoughtpolice committed Sep 15, 2024
1 parent 31146b0 commit dbfe1b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/by-name/ne/nextpnr/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ stdenv.mkDerivation rec {

cmakeFlags =
[ "-DCURRENT_GIT_VERSION=${lib.substring 0 7 (lib.elemAt srcs 0).rev}"
"-DARCH=generic;ice40;ecp5;gowin"
"-DARCH=generic;ice40;ecp5;gowin;himbaechel"
"-DBUILD_TESTS=ON"
"-DICESTORM_INSTALL_PREFIX=${icestorm}"
"-DTRELLIS_INSTALL_PREFIX=${trellis}"
Expand All @@ -58,6 +58,7 @@ stdenv.mkDerivation rec {
"-DUSE_OPENMP=ON"
# warning: high RAM usage
"-DSERIALIZE_CHIPDBS=OFF"
"-DHIMBAECHEL_GOWIN_DEVICES=all"
]
++ (lib.optional enableGui "-DBUILD_GUI=ON")
++ (lib.optional (enableGui && stdenv.isDarwin)
Expand All @@ -80,6 +81,7 @@ stdenv.mkDerivation rec {
wrapQtApp $out/bin/nextpnr-ice40
wrapQtApp $out/bin/nextpnr-ecp5
wrapQtApp $out/bin/nextpnr-gowin
wrapQtApp $out/bin/nextpnr-himbaechel
'';

strictDeps = true;
Expand Down

0 comments on commit dbfe1b1

Please sign in to comment.