-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override spike from upstream package, change output to spike
- Loading branch information
1 parent
b140867
commit dc0e00b
Showing
3 changed files
with
17 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
fetchFromGitHub, | ||
spike, | ||
}: | ||
# The lowRISC Ibex processor (https://github.com/lowRISC/ibex) uses a fork of | ||
# spike as an Instruction Set Simulator (ISS) for a cosimulation testbench in | ||
# its Design Verification (DV) environment. | ||
spike.overrideAttrs (_: prev: { | ||
src = fetchFromGitHub { | ||
owner = "lowRISC"; | ||
repo = "riscv-isa-sim"; | ||
rev = "ibex-cosim-v0.5"; | ||
sha256 = "sha256-LK/IXmRHrGxaMRudcUYmeZV5eXU8eH7ruIw7kliumdY="; | ||
}; | ||
configureFlags = (prev.configureFlags or []) ++ ["--enable-commitlog" "--enable-misaligned"]; | ||
}) |