From 6e70872bc15c5af563b6282eeda4e6bf33ff504c Mon Sep 17 00:00:00 2001 From: Shupei Fan Date: Thu, 22 Aug 2024 19:14:00 +0800 Subject: [PATCH] [nix] fix verilator-emu-rtl-verilated build --- nix/t1/verilated.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/t1/verilated.nix b/nix/t1/verilated.nix index 942258cc8e..95e8285666 100644 --- a/nix/t1/verilated.nix +++ b/nix/t1/verilated.nix @@ -22,11 +22,12 @@ stdenv.mkDerivation { echo "[nix] running verilator" verilator \ ${lib.optionalString enable-trace "--trace-fst"} \ + --cc \ --timing \ --threads 8 \ -O1 \ -F filelist.f \ - --cc TestBench + --top TestBench echo "[nix] building verilated C lib"