$ pdm run ../Tests/test_pcie_serdes_x4.py run Traceback (most recent call last): File "C:/msys2/home/yanla/ECP5-PCIe/Tests/test_pcie_serdes_x4.py", line 99, in FPGA.VersaECP55GPlatform(toolchain="Trellis").build(SERDESTestbench(), do_program=True) File "C:/msys2/home/yanla/ECP5-PCIe/Gateware/.venv/lib/python3.11/site-packages/amaranth/build/plat.py", line 100, in build plan = self.prepare(elaboratable, name, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:/msys2/home/yanla/ECP5-PCIe/Gateware/.venv/lib/python3.11/site-packages/amaranth/build/plat.py", line 141, in prepare fragment = Fragment.get(elaboratable, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:/msys2/home/yanla/ECP5-PCIe/Gateware/.venv/lib/python3.11/site-packages/amaranth/hdl/ir.py", line 37, in get new_obj = obj.elaborate(platform) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:/msys2/home/yanla/ECP5-PCIe/Tests/test_pcie_serdes_x4.py", line 31, in elaborate m.domains.rx = ClockDomain() ^^^^^^^^^^^^^ File "C:/msys2/home/yanla/ECP5-PCIe/Gateware/.venv/lib/python3.11/site-packages/amaranth/hdl/cd.py", line 57, in __init__ if name.startswith("cd_"): ^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'startswith'