Skip to content

Commit

Permalink
cumulus: Allow macros with MY orientation (#108)
Browse files Browse the repository at this point in the history
* cumulus: Allow macros with MY orientation

Signed-off-by: gatecat <[email protected]>

* ci: Bump comment-progress

Signed-off-by: gatecat <[email protected]>

---------

Signed-off-by: gatecat <[email protected]>
Co-authored-by: Rob Taylor <[email protected]>
  • Loading branch information
gatecat and robtaylor authored Jan 17, 2024
1 parent 949bae0 commit f94bf98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
PR_PATH: pull/${{github.event.number}}
steps:
- name: Comment on PR
uses: hasura/comment-progress@v2.2.0
uses: hasura/comment-progress@v2.3.0
if: github.ref != 'refs/heads/main'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions cumulus/src/plugins/macro/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def place ( topCell, instance, transf, status ):
abShift = Transformation( -ab.getXMin(), -ab.getYMin(), Transformation.Orientation.ID )
if transf.getOrientation() == Transformation.Orientation.MX:
abShift = Transformation( ab.getXMin(), -ab.getYMin(), Transformation.Orientation.ID )
if transf.getOrientation() == Transformation.Orientation.MY:
abShift = Transformation( -ab.getXMin(), ab.getYMin(), Transformation.Orientation.ID )
print( 'transf={}'.format(transf) )
print( 'abShift={}'.format(abShift) )
abShift.applyOn( transf )
Expand Down

0 comments on commit f94bf98

Please sign in to comment.