Skip to content

Commit c8e76e1

Browse files
committed
litepcie/tlp/packetizer: apply 256bit patch to devices in xcau series as well
1 parent a7f3f19 commit c8e76e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

litepcie/tlp/packetizer.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# This file is part of LitePCIe.
33
#
44
# Copyright (c) 2015-2023 Florent Kermarrec <[email protected]>
5+
# Copyright (c) 2024 John Simons <[email protected]>
56
# SPDX-License-Identifier: BSD-2-Clause
67

78
from migen import *
@@ -804,7 +805,7 @@ def __init__(self, data_width, endianness, address_width=32, capabilities=["REQU
804805

805806
# On Ultrascale(+) / 256-bit, force to 64-bit (for 4DWs format).
806807
try:
807-
force_64b = (LiteXContext.platform.device[:4] in ["xcku", "xcvu", "xczu"]) and (data_width in [256])
808+
force_64b = (LiteXContext.platform.device[:4] in ["xcku", "xcvu", "xczu", 'xcau']) and (data_width in [256])
808809
except:
809810
force_64b = False
810811

0 commit comments

Comments
 (0)