Use older version of yosys for Libre-SoC

This commit is contained in:
Las Safin 2021-09-05 18:48:19 +00:00
parent 41274d6ab5
commit c3d10b21aa
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
1 changed files with 13 additions and 2 deletions

View File

@ -1,11 +1,22 @@
{ alliance-check-toolkit, soclayout, pinmux, ... }:
{ stdenv, coriolis-combined, coriolis-unicorn, coriolis-cumulus
, python2Packages, alliance, yosys, writeShellScriptBin }:
, python2Packages, alliance, yosys, writeShellScriptBin, fetchFromGitHub }:
let
fakegit = writeShellScriptBin "git" "exit 0";
in stdenv.mkDerivation rec {
yosys' = yosys.overrideAttrs (_: {
version = "0.9+4008";
src = fetchFromGitHub {
owner = "YosysHQ";
repo = "yosys";
rev = "049e3abf9baf795e69b9ecb9c4f19de6131f8418";
sha256 = "0h3w91jr5yws4wxk3n45h1pdq65jhj957d5pzy2799gzwkba5adh";
};
});
in
let yosys = yosys'; in
stdenv.mkDerivation rec {
name = "libresoc-check";
src = soclayout;