projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00cd3f
)
Get pinmux working
author
Las Safin
<me@las.rs>
Mon, 13 Sep 2021 18:50:43 +0000
(18:50 +0000)
committer
Las Safin
<me@las.rs>
Mon, 13 Sep 2021 18:50:43 +0000
(18:50 +0000)
nix/verilog.nix
patch
|
blob
|
history
diff --git
a/nix/verilog.nix
b/nix/verilog.nix
index afd884bf6ee16c71c47856893e17211269fc48fb..ce5167c1682afb29c0a1eeebf84f0f8d31e383cb 100644
(file)
--- a/
nix/verilog.nix
+++ b/
nix/verilog.nix
@@
-1,6
+1,6
@@
{ version }:
-{ stdenv, python3Packages }:
+{ stdenv, python3Packages
, python2
}:
stdenv.mkDerivation {
pname = "libresoc.v";
@@
-18,6
+18,9
@@
stdenv.mkDerivation {
buildPhase = ''
runHook preBuild
+ env -C pinmux ${python2}/bin/python src/pinmux_generator.py -v -s ls180 -o ls180
+ cp pinmux/ls180/ls180_pins.py src/soc/debug
+ cp pinmux/ls180/ls180_pins.py src/soc/litex/florent/libresoc
cd src
export PYTHONPATH="$PWD:$PYTHONPATH"
python3 soc/simple/issuer_verilog.py \