Skip to content

Commit

Permalink
vendor.openlane: removed the _INVK_DIR member and used `platform.bu…
Browse files Browse the repository at this point in the history
…ild_dir` instead
  • Loading branch information
lethalbit committed Nov 26, 2021
1 parent 90d850b commit 84fcf5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nmigen/vendor/openlane.py
Expand Up @@ -45,7 +45,6 @@ class OpenLANEPlatform(TemplatedPlatform):

toolchain = "OpenLANE"

_INVK_DIR = os.getcwd()
_UID = os.getuid()
_GID = os.getgid()

Expand Down Expand Up @@ -123,7 +122,7 @@ class OpenLANEPlatform(TemplatedPlatform):
--rm
-v {{platform.openlane_root}}:/openLANE_flow
-v {{get_override("pdk_path")|default(platform.openlane_root + "/pdks")}}:/PDK
-v {{platform._INVK_DIR}}/build:/design_{{name}}
-v {{platform.build_dir}}:/design_{{name}}
-e PDK_ROOT=/PDK
-u {{platform._UID}}:{{platform._GID}}
efabless/openlane:{{get_override("openlane_version")|default("latest")}}
Expand Down

0 comments on commit 84fcf5e

Please sign in to comment.