google / google/xls

No way to specify delay model with opt_main

Open
#1,115 0 comments 0 reactions 0 assignees View on GitHub
optimizer
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 12h
Merged PRs (30d)
130

Description

The delay estimator is used in one pass in the optimization pipeline (bdd cse which replaces expressions with simpler equivalents). There is no way to specify the delay model in opt_main so the default delay model is always used. We should have a way of specifying it or replace the use of the delay model in that pass.

Contributor guide

Open the contributing guide

Research direction

Start at the opt_main entry point and trace the optimization pipeline, especially the bdd cse pass where the delay estimator is used. Determine whether the intended change is to let opt_main select a delay model or to remove that pass's dependency on the model. Done means the chosen behavior no longer always uses the default delay model.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.