Skip to content

Commit 5ef44ac

Browse files
committed
Reduce API surface
1 parent eaa9924 commit 5ef44ac

File tree

9 files changed

+7
-6
lines changed

9 files changed

+7
-6
lines changed

chipflow_lib/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
__version__ = importlib.metadata.version("chipflow_lib")
1717

18+
1819
logger = logging.getLogger(__name__)
1920

2021
class ChipFlowError(Exception):
File renamed without changes.

chipflow_lib/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
_get_cls_by_reference,
1515
_parse_config,
1616
)
17-
from .pin_lock import PinCommand
17+
from ._pin_lock import PinCommand
1818

1919
class UnexpectedError(ChipFlowError):
2020
pass

chipflow_lib/platforms/_internal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .silicon import *
22
from .sim import *
3-
from .utils import *
3+
from ._utils import *
44
from ._packages import *
55
__all__ = ['IO_ANNOTATION_SCHEMA', 'IOSignature', 'IOModel',
66
'OutputIOSignature', 'InputIOSignature', 'BidirIOSignature',

chipflow_lib/platforms/_openframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import List, NamedTuple, Optional, Literal
22

3-
from .utils import Voltage, PowerPins, LinearAllocPackageDef, BringupPins
3+
from ._utils import Voltage, PowerPins, LinearAllocPackageDef, BringupPins
44

55
class OFPin(NamedTuple):
66
pin: int

chipflow_lib/platforms/_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .utils import QuadPackageDef, BareDiePackageDef, Package
1+
from ._utils import QuadPackageDef, BareDiePackageDef, Package
22
from ._openframe import OpenframePackageDef
33

44
# Add any new package types to both PACKAGE_DEFINITIONS and the PackageDef union
File renamed without changes.

chipflow_lib/platforms/sim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from amaranth.hdl._ir import PortDirection
1212
from amaranth.lib.cdc import FFSynchronizer
1313

14-
from .utils import load_pinlock
14+
from ._utils import load_pinlock
1515

1616

1717
__all__ = ["SimPlatform"]

chipflow_lib/steps/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from amaranth import Module
99

10-
from ..platforms.utils import IOSignature
10+
from ..platforms import IOSignature
1111

1212
logger = logging.getLogger(__name__)
1313

0 commit comments

Comments
 (0)