Skip to content

Conversation

teqdruid
Copy link
Contributor

  • Spell out the type names
  • Use generated declarative parsers

- Spell out the type names
- Use generated declarative parsers
@teqdruid teqdruid requested a review from Copilot May 14, 2025 00:23
@teqdruid teqdruid added the ESI label May 14, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes the ASM format for ESI operations by spelling out type names and transitioning to generated declarative parsers. Key changes include updating buffer and stage operations to use full type signatures, revising CHECK comments accordingly, and removing custom parse/print routines in favor of auto‐generated ones.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/Dialect/ESI/lowering.mlir Updates type signatures on buffer and stage ops; adjusts CHECKs.
test/Dialect/ESI/connectivity.mlir Similar type signature changes applied to buffer ops and CHECKs.
test/Conversion/DCToHW/basic.mlir Updates CHECK lines to reflect new channel types.
lib/Dialect/ESI/ESIOps.cpp Removes custom parsing/printing in favor of declarative parsers; adds additional verification in verify() functions.
include/circt/Dialect/ESI/ESIChannels.td Introduces declarative assemblyFormat patterns and verifier flags.
frontends/PyCDE/test/test_esi*.py Updates CHECK patterns to use full type names with channel conversions.
Comments suppressed due to low confidence (2)

test/Dialect/ESI/lowering.mlir:34

  • The name 'Reciever' appears to be misspelled. Please consider renaming it to 'Receiver' for clarity and consistency.
hw.instance "recv2" @Reciever (a: %bufferedChan2: !esi.channel<i4>, clk: %clk: !seq.clock) -> ()

test/Dialect/ESI/connectivity.mlir:31

  • The identifier '@reciever' seems to be misspelled. It is recommended to use '@receiver' for correct spelling.
hw.instance "recv" @Reciever (a: %bufferedChan: !esi.channel<i1>) -> ()

@teqdruid teqdruid merged commit 769f0b4 into main May 14, 2025
5 checks passed
@teqdruid teqdruid deleted the dev/esiparsing branch May 14, 2025 00:41
TaoBi22 pushed a commit to TaoBi22/circt that referenced this pull request Jul 17, 2025
- Spell out the type names
- Use generated declarative parsers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant