Skip to content

Add codegen_scheduled_main binary target and update codegen tool to latest scheduling APIs#4355

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_926069425
Draft

Add codegen_scheduled_main binary target and update codegen tool to latest scheduling APIs#4355
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_926069425

Conversation

@copybara-service
Copy link
Copy Markdown

Add codegen_scheduled_main binary target and update codegen tool to latest scheduling APIs

Updates the standalone scheduled codegen tool to align with current XLS ir and scheduling definitions.

  • Transitions input parsing from PackagePipelineSchedulesProto to PackageScheduleProto to support updated schedule representations.
  • Instantiates PackageSchedule from the parsed proto and passes it to the Codegen entrypoint.
  • Adds support for outputting auxiliary artifacts including module signatures, pass pipeline metrics, block metrics, and residual data.
  • Defines the cc_binary target for codegen_scheduled_main in the build configuration with all required common, ir, scheduling, and tool dependencies.

…atest scheduling APIs

Updates the standalone scheduled codegen tool to align with current XLS ir and scheduling definitions.

* Transitions input parsing from PackagePipelineSchedulesProto to PackageScheduleProto to support updated schedule representations.
* Instantiates PackageSchedule from the parsed proto and passes it to the Codegen entrypoint.
* Adds support for outputting auxiliary artifacts including module signatures, pass pipeline metrics, block metrics, and residual data.
* Defines the cc_binary target for codegen_scheduled_main in the build configuration with all required common, ir, scheduling, and tool dependencies.

PiperOrigin-RevId: 926069425
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Jun 3, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the 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.

0 participants