-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of a bunch of top-level packages, moves things like `edg_core` into `edg.core`. Also renames some subpackages for simplicity: `electronics_abstract_parts` -> `abstract_parts`, `electronics_lib` -> `parts`. Should not break compatibility for those using `from edg import *`, but will break for those importing internals. This structure should allow this to be used as a submodule and is overall cleaner. The compiler will detect if PolymorphicBlocks exists in the current path, and if so, uses the qualified path. `examples` is still independent and is not part of the public API or package structure.
- Loading branch information
Showing
509 changed files
with
6,928 additions
and
7,170 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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_lib import * | ||
from .parts import * | ||
|
||
|
||
class BaseBoardTop(DesignTop): | ||
|
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
2 changes: 1 addition & 1 deletion
2
...cs_abstract_parts/AbstractAnalogSwitch.py → edg/abstract_parts/AbstractAnalogSwitch.py
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
2 changes: 1 addition & 1 deletion
2
...tronics_abstract_parts/AbstractAntenna.py → edg/abstract_parts/AbstractAntenna.py
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
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractBjt.py → edg/abstract_parts/AbstractBjt.py
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
2 changes: 1 addition & 1 deletion
2
...onics_abstract_parts/AbstractConnector.py → edg/abstract_parts/AbstractConnector.py
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_model import * | ||
from ..electronics_model import * | ||
from .Categories import Connector | ||
|
||
|
||
|
2 changes: 1 addition & 1 deletion
2
...tronics_abstract_parts/AbstractCrystal.py → edg/abstract_parts/AbstractCrystal.py
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
2 changes: 1 addition & 1 deletion
2
...cs_abstract_parts/AbstractDebugHeaders.py → edg/abstract_parts/AbstractDebugHeaders.py
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
2 changes: 1 addition & 1 deletion
2
...tronics_abstract_parts/AbstractDevices.py → edg/abstract_parts/AbstractDevices.py
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_model import * | ||
from ..electronics_model import * | ||
from .Categories import * | ||
|
||
|
||
|
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractDiodes.py → edg/abstract_parts/AbstractDiodes.py
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
2 changes: 1 addition & 1 deletion
2
...ics_abstract_parts/AbstractFerriteBead.py → edg/abstract_parts/AbstractFerriteBead.py
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
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractFets.py → edg/abstract_parts/AbstractFets.py
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
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractFuse.py → edg/abstract_parts/AbstractFuse.py
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
2 changes: 1 addition & 1 deletion
2
...ronics_abstract_parts/AbstractInductor.py → edg/abstract_parts/AbstractInductor.py
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
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractJumper.py → edg/abstract_parts/AbstractJumper.py
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
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractLed.py → edg/abstract_parts/AbstractLed.py
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
2 changes: 1 addition & 1 deletion
2
...onics_abstract_parts/AbstractLedDriver.py → edg/abstract_parts/AbstractLedDriver.py
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_abstract_parts import * | ||
from ..abstract_parts import * | ||
|
||
|
||
@abstract_block | ||
|
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractOpamp.py → edg/abstract_parts/AbstractOpamp.py
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
2 changes: 1 addition & 1 deletion
2
...nics_abstract_parts/AbstractOscillator.py → edg/abstract_parts/AbstractOscillator.py
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
2 changes: 1 addition & 1 deletion
2
...abstract_parts/AbstractPowerConverters.py → ...abstract_parts/AbstractPowerConverters.py
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
2 changes: 1 addition & 1 deletion
2
...ronics_abstract_parts/AbstractResistor.py → edg/abstract_parts/AbstractResistor.py
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
2 changes: 1 addition & 1 deletion
2
...s_abstract_parts/AbstractResistorArray.py → edg/abstract_parts/AbstractResistorArray.py
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
2 changes: 1 addition & 1 deletion
2
...abstract_parts/AbstractSolidStateRelay.py → ...abstract_parts/AbstractSolidStateRelay.py
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
2 changes: 1 addition & 1 deletion
2
...onics_abstract_parts/AbstractSpiMemory.py → edg/abstract_parts/AbstractSpiMemory.py
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_model import * | ||
from ..electronics_model import * | ||
from .Categories import * | ||
|
||
|
||
|
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/AbstractSwitch.py → edg/abstract_parts/AbstractSwitch.py
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
6 changes: 3 additions & 3 deletions
6
...onics_abstract_parts/AbstractTestPoint.py → edg/abstract_parts/AbstractTestPoint.py
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
2 changes: 1 addition & 1 deletion
2
...ronics_abstract_parts/AbstractTvsDiode.py → edg/abstract_parts/AbstractTvsDiode.py
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
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/CanTransceiver.py → edg/abstract_parts/CanTransceiver.py
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_model import * | ||
from ..electronics_model import * | ||
from .Categories import * | ||
|
||
|
||
|
4 changes: 2 additions & 2 deletions
4
electronics_abstract_parts/Categories.py → edg/abstract_parts/Categories.py
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
2 changes: 1 addition & 1 deletion
2
...onics_abstract_parts/DigitalAmplifiers.py → edg/abstract_parts/DigitalAmplifiers.py
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
2 changes: 1 addition & 1 deletion
2
...tronics_abstract_parts/DigitalIsolator.py → edg/abstract_parts/DigitalIsolator.py
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from electronics_model import * | ||
from ..electronics_model import * | ||
from .Categories import Interface | ||
|
||
|
||
|
2 changes: 1 addition & 1 deletion
2
electronics_abstract_parts/DummyDevices.py → edg/abstract_parts/DummyDevices.py
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
Oops, something went wrong.