Skip to content

Commit

Permalink
verilator_caliptra: pin to systemc 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Nov 24, 2024
1 parent 5c1d911 commit 5743c3c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pkgs/verilator_caliptra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,28 @@
# Licensed under the MIT License, see LICENSE for details.
# SPDX-License-Identifier: MIT
{
pkgs,
systemc,
gcc12Stdenv,
fetchFromGitHub,
verilator,
}:
(pkgs.verilator.override {
(verilator.override {
# Long symbols are broken when compiled with GCC 13: https://github.com/verilator/verilator/issues/4204
stdenv = gcc12Stdenv;
systemc = systemc.override {stdenv = gcc12Stdenv;};
systemc = (systemc.override {stdenv = gcc12Stdenv;}).overrideAttrs rec {
version = "2.3.4";

src = fetchFromGitHub {
owner = "accellera-official";
repo = "systemc";
rev = version;
sha256 = "0sj8wlkp68cjhmkd9c9lvm3lk3sckczpz7w9vby64inc1f9fnf0b";
};
};
})
.overrideAttrs rec {
version = "5.012";
src = pkgs.fetchFromGitHub {
src = fetchFromGitHub {
owner = "verilator";
repo = "verilator";
rev = "v${version}";
Expand Down

0 comments on commit 5743c3c

Please sign in to comment.