Skip to content

Commit

Permalink
litepcie/tlp/packetizer: apply 256bit patch to devices in xcau series…
Browse files Browse the repository at this point in the history
… as well
  • Loading branch information
Johnsel committed May 1, 2024
1 parent a7f3f19 commit c8e76e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion litepcie/tlp/packetizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# This file is part of LitePCIe.
#
# Copyright (c) 2015-2023 Florent Kermarrec <florent@enjoy-digital.fr>
# Copyright (c) 2024 John Simons <jammsimons@gmail.com>
# SPDX-License-Identifier: BSD-2-Clause

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

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

Expand Down

0 comments on commit c8e76e1

Please sign in to comment.