-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libresoc: move into packages defined in by-name
Signed-off-by: Jack Leightcap <[email protected]>
- Loading branch information
1 parent
4cf5667
commit 33866b0
Showing
19 changed files
with
56 additions
and
51 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,56 @@ | ||
{callPackage}: let | ||
# JTAG debugging | ||
libresoc-c4m-jtag = callPackage ./libresoc-c4m-jtag.nix {inherit nmigen nmigen-soc;}; | ||
# floating point implementation | ||
libresoc-ieee754fpu = callPackage ./ieee754fpu.nix {inherit nmutil nmigen pytest-output-to-files;}; | ||
# openpower-isa definition | ||
libresoc-openpower-isa = callPackage ./openpower-isa.nix { | ||
inherit | ||
libresoc-pyelftools | ||
mdis | ||
nmigen | ||
nmutil | ||
pytest-output-to-files | ||
; | ||
}; | ||
# libresoc's fork of pyelftools, few commits have diverged from pyelftools packaged by nixpkgs | ||
libresoc-pyelftools = callPackage ./libresoc-pyelftools.nix {}; | ||
mdis = callPackage ./mdis.nix {}; | ||
# libresoc's nmigen fork has been renamed to https://github.com/amaranth-lang/amaranth | ||
# amaranth is packaged in nixpkgs but we can't just override a few of the attributes the way we did for pyelftools, | ||
# because the names are different, so much of this is copied from the amaranth build recipe | ||
nmigen = callPackage ./nmigen.nix {}; | ||
# libresoc's nmigen-soc fork has been renamed to https://github.com/amaranth-lang/amaranth-soc. | ||
# suffers from the same rename issue as the previous commit with renaming issue as nmigen/amaranth | ||
nmigen-soc = callPackage ./nmigen-soc.nix {inherit nmigen;}; | ||
# libresoc's nmutil fork, used for differential testing | ||
nmutil = callPackage ./nmutil.nix {inherit nmigen pytest-output-to-files;}; | ||
# library for running pin multiplexers | ||
pinmux = callPackage ./pinmux.nix {}; | ||
# libresoc's PowerPC emulator | ||
power-instruction-analyzer = callPackage ./power-instruction-analyzer.nix {}; | ||
# libresoc's test harness | ||
pytest-output-to-files = callPackage ./pytest-output-to-files.nix {}; | ||
# SoC target circuit synthesized to nmigen(-soc) | ||
soc = callPackage ./soc.nix { | ||
inherit | ||
libresoc-c4m-jtag | ||
libresoc-ieee754fpu | ||
libresoc-openpower-isa | ||
nmigen-soc | ||
power-instruction-analyzer | ||
pytest-output-to-files | ||
; | ||
}; | ||
in | ||
# SoC synthesized to Verilog | ||
callPackage ./soc.nix { | ||
inherit | ||
libresoc-c4m-jtag | ||
libresoc-ieee754fpu | ||
libresoc-openpower-isa | ||
nmigen-soc | ||
power-instruction-analyzer | ||
pytest-output-to-files | ||
; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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