-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* doc update * doc update * doc update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * doc update * doc update * doc update --------- Co-authored-by: ring630 <@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
8434593
commit 27decbe
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
class EdbDesignOptions: | ||
def __init__(self, active_cell): | ||
self._active_cell = active_cell | ||
|
||
@property | ||
def suppress_pads(self): | ||
"""Whether to suppress non-functional pads. | ||
Returns | ||
------- | ||
bool | ||
``True`` if suppress non-functional pads is on, ``False`` otherwise. | ||
""" | ||
return self._active_cell.GetSuppressPads() | ||
|
||
@suppress_pads.setter | ||
def suppress_pads(self, value): | ||
self._active_cell.SetSuppressPads(value) | ||
|
||
@property | ||
def antipads_always_on(self): | ||
"""Whether to always turn on antipad. | ||
Returns | ||
------- | ||
bool | ||
``True`` if antipad is always on, ``False`` otherwise. | ||
""" | ||
return self._active_cell.GetAntiPadsAlwaysOn() | ||
|
||
@antipads_always_on.setter | ||
def antipads_always_on(self, value): | ||
self._active_cell.SetAntiPadsAlwaysOn(value) |