This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
222e92d
commit 799b479
Showing
6 changed files
with
49 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
# This file is part of the faebryk project | ||
# SPDX-License-Identifier: MIT | ||
|
||
from faebryk.library.Electrical import Electrical | ||
from faebryk.library.ElectricPower import ElectricPower | ||
from faebryk.library.Signal import Signal | ||
import faebryk.library._F as F | ||
|
||
|
||
class SignalElectrical(Signal): | ||
def __init__(self) -> None: | ||
super().__init__() | ||
|
||
class _IFs(Signal.IFS()): | ||
# line is a better name, but for compatibility with Logic we use signal | ||
# might change in future | ||
signal = Electrical() | ||
reference = ElectricPower() | ||
|
||
self.IFs = _IFs(self) | ||
class SignalElectrical(F.Signal): | ||
# line is a better name, but for compatibility with Logic we use signal | ||
# might change in future | ||
signal: F.Electrical | ||
reference: F.ElectricPower |
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,7 +1,7 @@ | ||
# This file is part of the faebryk project | ||
# SPDX-License-Identifier: MIT | ||
|
||
from faebryk.library.has_construction_dependency import has_construction_dependency | ||
import faebryk.library._F as F | ||
|
||
|
||
class has_parameter_construction_dependency(has_construction_dependency): ... | ||
class has_parameter_construction_dependency(F.has_construction_dependency): ... |