Skip to content

Commit

Permalink
mitigate determinism issues
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Sep 21, 2023
1 parent 3fafb47 commit 16889d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ lint: venv/manifest.txt
./venv/bin/flake8 .

venv: venv/manifest.txt
venv/manifest.txt: ./requirements_dev.txt ./requirements.txt
venv/manifest.txt: ./requirements_dev.txt
rm -rf venv
python3 -m venv ./venv
PYTHONPATH= ./venv/bin/python3 -m pip install --upgrade pip
PYTHONPATH= ./venv/bin/python3 -m pip install --upgrade wheel
PYTHONPATH= ./venv/bin/python3 -m pip install --upgrade\
-r ./requirements_dev.txt\
-r ./requirements.txt
-r ./requirements_dev.txt
PYTHONPATH= ./venv/bin/python3 -m pip freeze > $@
touch venv/manifest.txt

Expand Down
2 changes: 1 addition & 1 deletion dffram.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def main(
# PDN
"DESIGN_IS_CORE": False,
},
design_dir=build_dir,
design_dir=os.path.abspath(build_dir),
)

final_state = dffram_flow.start(
Expand Down
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
let openlane-src = pkgs.fetchFromGitHub {
owner = "efabless";
repo = "openlane2";
rev = "0c05b7ea04eac74203a9a33f8a8b519f33220f2f";
sha256 = "sha256-fjYz6HuIYrGbkb1oA6wPIlEjieYU5hu0aygYQFj2d2I=";
rev = "fbbe66691c281da8b39eb74bbf83309959477d8a";
sha256 = "sha256-G6SQAxmd2RUWqDnGCYNkBungO8dWvMT9rNiDZ+uQQYU=";
}; in import "${openlane-src}/shell.nix" {
inherit pkgs;
}

0 comments on commit 16889d8

Please sign in to comment.