Skip to content

Commit

Permalink
Change names to connectors and transformers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekcyjna committed Oct 6, 2023
1 parent b72903c commit f0bc8a9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions transactron/lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .connections import * # noqa: F401
from .connectors import * # noqa: F401
from .buttons import * # noqa: F401
from .adapters import * # noqa: F401
from .methods import * # noqa: F401
from .transformers import * # noqa: F401
from .transactions import * # noqa: F401
from .reqres import * # noqa: F401
from .storage import * # noqa: F401
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion transactron/lib/reqres.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from amaranth import *
from ..core import *
from .connections import Forwarder, FIFO
from .connectors import Forwarder, FIFO
from coreblocks.utils.fifo import BasicFifo
from amaranth.utils import *

Expand Down
4 changes: 2 additions & 2 deletions transactron/lib/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from ..core import *
from ..core import RecordDict
from typing import Optional, Callable
from . import methods
from . import transformers

__all__ = [
"ConnectTrans",
Expand Down Expand Up @@ -84,7 +84,7 @@ def __init__(
def elaborate(self, platform):
m = TModule()

m.submodules.transformer = transformer = methods.MethodTransformer(
m.submodules.transformer = transformer = transformers.MethodTransformer(
self.method2,
i_transform=(self.method1.data_out.layout, self.i_fun),
o_transform=(self.method1.data_in.layout, self.o_fun),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Optional, Callable, Tuple
from coreblocks.utils import ValueLike, assign, AssignType
from . import transactions
from .connections import Forwarder
from .connectors import Forwarder

__all__ = [
"MethodTransformer",
Expand Down

0 comments on commit f0bc8a9

Please sign in to comment.