Open sequencer opened 3 years ago
Agreed in principle, but since this change is virtually guaranteed to expose bugs in existing designs, it should be an optional pass.
I think so. This will lead to uncertain result to a FIRRTL circuit.
This needs a proof of concept that shows a QoR improvement for a particular test case. Then we can think about whether it is worth to implement this optimization.
I'm reading bluespec user guide, and found something interesting:
I think we can also use SMTLIB to give some optimizations like this. IIRC, currently we treat all DontCare to 0. But the semantic of DontCare is don't care, if we force it to 0, we are certainly miss some optimization opportunity.
Checklist
Feature Description
Use SMTLIB to optimize FIRRTL generated hardware.
Type of Feature
External Information
BlueSpec userguide 3.11 Compiler optimizations