|
5 | 5 | import sys |
6 | 6 |
|
7 | 7 | from dataclasses import dataclass |
8 | | -from enum import StrEnum, auto |
| 8 | +from enum import StrEnum |
9 | 9 | from pathlib import Path |
10 | | -from pprint import pformat |
11 | | -from typing import List, Optional, TypedDict, Optional, Unpack, Union, Type |
| 10 | +from typing import List, Optional, Type |
12 | 11 |
|
13 | 12 | from amaranth import Module, ClockDomain, ClockSignal, ResetSignal |
14 | 13 | from amaranth.lib import io, meta, wiring |
15 | 14 | from amaranth.lib.wiring import In, Out |
16 | 15 | from amaranth.back import rtlil # type: ignore[reportAttributeAccessIssue] |
17 | | -from amaranth.hdl import _ir, _ast |
18 | 16 | from amaranth.hdl._ir import PortDirection |
19 | 17 | from amaranth.lib.cdc import FFSynchronizer |
20 | | -from pydantic import BaseModel, ConfigDict |
| 18 | +from pydantic import BaseModel |
21 | 19 |
|
22 | | -from .. import ChipFlowError |
23 | 20 | from .._signatures import I2CSignature, GPIOSignature, UARTSignature, SPISignature |
24 | | -from ._utils import load_pinlock, _chipflow_schema_uri, amaranth_annotate, InputIOSignature, OutputIOSignature, BidirIOSignature |
| 21 | +from ._utils import load_pinlock |
25 | 22 |
|
26 | 23 |
|
27 | 24 | logger = logging.getLogger(__name__) |
|
0 commit comments