Skip to content

Resolve implicit-width-truncation warnings - #36

Open
tynan-jdwk wants to merge 1 commit into
chipsalliance:mainfrom
tynan-jdwk:fix-width-truncation
Open

Resolve implicit-width-truncation warnings#36
tynan-jdwk wants to merge 1 commit into
chipsalliance:mainfrom
tynan-jdwk:fix-width-truncation

Conversation

@tynan-jdwk

Copy link
Copy Markdown

firtool-1.154.0 and later warn on all implicit width truncations (llvm/circt#10621). These width truncations were flagged in stock Chipyard builds.

For all width truncations, use the equivalent Connectable operator (:<=), along with .squeeze. This has the same behavior as the original := connections, since those truncate when the producer in a connection is wider than the consumer.

firtool-1.154.0 and later warn on all implicit width truncations. These
width truncations were flagged in stock Chipyard builds.

For all width truncations, use the equivalent `Connectable` operator
(`:<=`), along with `.squeeze`. This has the same behavior as the
original `:=` connections, since those truncate when the producer in a
connection is wider than the consumer.
@mergify

mergify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant