Skip to content

Conversation

@teqdruid
Copy link
Contributor

No description provided.

Copy link

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 adds Python bindings for ESI Window types, enabling Python users to create and manipulate WindowType, WindowFrameType, and WindowFieldType objects through the CIRCT Python API.

Key changes:

  • Added C API functions for three Window-related types (WindowType, WindowFrameType, WindowFieldType)
  • Implemented Python bindings with validation logic for type safety
  • Extended type conversion support in Python utilities to handle Window types

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
include/circt-c/Dialect/ESI.h Added C API declarations for Window types and a struct definition
lib/CAPI/Dialect/ESI.cpp Implemented C API functions for Window type construction and property access
lib/Bindings/Python/ESIModule.cpp Added Python bindings with type validation and property accessors
lib/Bindings/Python/support.py Extended type_to_pytype to handle Window type conversions
integration_test/Bindings/Python/dialects/esi.py Added comprehensive integration tests for Window types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@teqdruid teqdruid merged commit a347a9c into main Nov 15, 2025
6 checks passed
@teqdruid teqdruid deleted the teqdruid/pycde-list-windows branch November 15, 2025 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ESI Python Python bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants