diff --git a/.github/scripts/build_local_target.sh b/.github/scripts/build_local_target.sh index 816b1d7..4a63a2b 100755 --- a/.github/scripts/build_local_target.sh +++ b/.github/scripts/build_local_target.sh @@ -30,7 +30,7 @@ do stages=() if [[ $stage == "synth" ]]; then stages+=("do-yosys-canonicalize") - stages+=("do-yosys-keep-hierarchy") + stages+=("do-yosys-stats") stages+=("do-yosys") stages+=("do-synth") elif [[ $stage == "grt" ]]; then diff --git a/MODULE.bazel b/MODULE.bazel index 49866dd..31ae027 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -8,9 +8,9 @@ orfs = use_extension("//:extension.bzl", "orfs_repositories") orfs.default( # a local only or remote docker image. Local docker images do not # have a sha256. - image = "docker.io/openroad/orfs:v3.0-1748-gd59ddd4a", + image = "docker.io/openroad/orfs:v3.0-1755-g18371323", # Comment out line below for local only docker images - sha256 = "ef53496afa98ca807c55774bead7d9452355eed120b0379ebba566a5c4590d93", + sha256 = "43ce53d1eed2f75857532e1d066eb9d5f78d7cb9bd89646429f3f6dc33aee7b7", ) use_repo(orfs, "com_github_nixos_patchelf_download") use_repo(orfs, "docker_orfs") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 46123a8..298cd9d 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -64,7 +64,7 @@ "//:extension.bzl%orfs_repositories": { "general": { "bzlTransitiveDigest": "vmcGR7h5VgEPebKSKqrF0UgcqrgFTr0lE5jdk/LXXdg=", - "usagesDigest": "TQC36eQXuTL/tImRjoOC7TbHgrHY6pUcXCRK2u7FKWc=", + "usagesDigest": "KR/PI1Hud+bDoLsV1X7SwvMndEXB7Fa91IIJyIQVwSY=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -84,8 +84,8 @@ "bzlFile": "@@//:docker.bzl", "ruleClassName": "docker_pkg", "attributes": { - "image": "docker.io/openroad/orfs:v3.0-1748-gd59ddd4a", - "sha256": "ef53496afa98ca807c55774bead7d9452355eed120b0379ebba566a5c4590d93", + "image": "docker.io/openroad/orfs:v3.0-1755-g18371323", + "sha256": "43ce53d1eed2f75857532e1d066eb9d5f78d7cb9bd89646429f3f6dc33aee7b7", "build_file": "@@//:docker.BUILD.bazel", "timeout": 3600, "patch_cmds": [ diff --git a/README.md b/README.md index 58c8dcf..9cc46ac 100644 --- a/README.md +++ b/README.md @@ -214,14 +214,14 @@ bazel run __deps -- /make do- ``` -> **NOTE:** The synthesis stage requires the `do-yosys-canonicalize`, `do-yosys-keep-hierarchy` and `do-yosys` steps to be completed beforehand. +> **NOTE:** The synthesis stage requires the `do-yosys-canonicalize`, `do-yosys-stats` and `do-yosys` steps to be completed beforehand. > These steps are necessary to generate the required `.rtlil` file for the synthesis stage. > > ```bash > source /env.sh > > bazel run _synth_deps -- -> /make do-yosys-canonicalize do-yosys-keep-hierarchy do-yosys do-synth +> /make do-yosys-canonicalize do-yosys-stats do-yosys do-synth > ``` ### Override BUILD configuration variables @@ -453,7 +453,7 @@ Let's assume we want to perform a `floorplan` stage for the `L1MetadataArray` de bazel run @bazel-orfs//:L1MetadataArray_synth_deps -- `pwd`/build # Build Synthesis stage for L1MetadataArray target using local ORFS - build/make do-yosys-canonicalize do-yosys-keep-hierarchy do-yosys do-synth + build/make do-yosys-canonicalize do-yosys-stats do-yosys do-synth # Initialize dependencies for the Floorplan stage for L1MetadataArray target bazel run @bazel-orfs//:L1MetadataArray_floorplan_deps -- `pwd`/build diff --git a/openroad.bzl b/openroad.bzl index 31dc84c..431f9ef 100644 --- a/openroad.bzl +++ b/openroad.bzl @@ -705,7 +705,7 @@ def _yosys_impl(ctx): "--old-file", canon_output.path, "yosys-dependencies", - "do-yosys-keep-hierarchy", + "do-yosys-stats", "do-yosys", "do-synth", ],