Skip to content

Conversation

@copybara-service
Copy link

Reset the scheduler so that slack variables used to explain infeasibility do not corrupt future attempts to schedule. Also, always check if the user wants to try finding the minimum feasible clock period that would satisfy the scheduler while still propagating the scheduler's error

New example, more helpful error message:

Error: INVALID_ARGUMENT: cannot achieve the specified clock period. Try `--clock_period_ps=721`. The reason the scheduler gave is: INVALID_ARGUMENT: __alu__AluProc_0_next: cannot satisfy the given I/O constraints. Would succeed with: {alu__p3_data_ins→alu__p5_outs with maximum latency ≥ 3}, {alu__p3_ins→alu__p5_outs with maximum latency ≥ 3}

…lity do not corrupt future attempts to schedule. Also, always check if the user wants to try finding the minimum feasible clock period that would satisfy the scheduler while still propagating the scheduler's error

New example, more helpful error message:
```
Error: INVALID_ARGUMENT: cannot achieve the specified clock period. Try `--clock_period_ps=721`. The reason the scheduler gave is: INVALID_ARGUMENT: __alu__AluProc_0_next: cannot satisfy the given I/O constraints. Would succeed with: {alu__p3_data_ins→alu__p5_outs with maximum latency ≥ 3}, {alu__p3_ins→alu__p5_outs with maximum latency ≥ 3}
```
PiperOrigin-RevId: 847823548
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