From 16889d82702985f3c4c805bcb386813bdc1627ed Mon Sep 17 00:00:00 2001 From: Donn Date: Thu, 21 Sep 2023 15:29:14 +0300 Subject: [PATCH] mitigate determinism issues --- Makefile | 5 ++--- dffram.py | 2 +- shell.nix | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0596a39..1ec8f7a 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/dffram.py b/dffram.py index 73e2c57..a52a4f9 100755 --- a/dffram.py +++ b/dffram.py @@ -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( diff --git a/shell.nix b/shell.nix index 9cbe8fe..b49eef5 100644 --- a/shell.nix +++ b/shell.nix @@ -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; } \ No newline at end of file