Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
# General EDA packages
verilator_5_040 = pkgs.callPackage ./verilator_5_040.nix {};
verilator_5_048 = pkgs.callPackage ./verilator_5_048.nix {};
verilator_5_052_unstable = pkgs.callPackage ./verilator_5_052_unstable.nix {};

# Cheri
llvm_cheri = pkgs.callPackage ./llvm_cheri.nix {};
Expand Down
21 changes: 21 additions & 0 deletions pkgs/verilator_5_052_unstable.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright lowRISC Contributors.
# Licensed under the MIT License, see LICENSE for details.
# SPDX-License-Identifier: MIT
{
fetchFromGitHub,
verilator,
}:
# A snapshot of Verilator master after v5.052, for UVM testbench fixes that are
# not in a release yet. Replace it with a release package once one has them.
verilator.overrideAttrs (old: {
version = "5.052-unstable-2026-10-03";
src = fetchFromGitHub {
owner = "verilator";
repo = "verilator";
rev = "9f72509635ee19da76bc72cd723f0e5f21ea50e6";
sha256 = "sha256-3F3juY+1o5AYFoljFBBNWS1sbZ1xAJBujdAvR2WrJsk=";
};
# nixpkgs rewrites a /bin/echo that `verilator --gdbbt` used to call. The
# call is gone upstream, so its --replace-fail would fail the build.
postPatch = builtins.replaceStrings ["--replace-fail"] ["--replace-quiet"] old.postPatch;
})
Loading