[enhancement][idea] XLS assisted fanout management for register duplication #1908
Labels
enhancement
New feature or request
long-term-enhancement
Issues that are sensible enhancements but XLS devs expect may not be addressed in the near-term
What's hard to do? (limit 100 words)
There are scenarios where you want to experiment with replicating flops and fanning out from the number of dupes to the logic that consumes the value; e.g. imagine something shaped like:
there's two interesting aspects here:
gate!
as an approximation of a "register duplication is desirable with this replication factor" hintthis is in the general theme of "expressing a choice sort of knob XLS can try to tune"
Current best alternative workaround (limit 100 words)
Doing this in wrapping layers outside of XLS itself.
Your view of the "best case XLS enhancement" (limit 100 words)
Hypothetically you could enable constructs like shown above (the arbitrary!() macro that can select an arbitrary value of a given type, though we'd need to prove the result was functionally the same forall value. Perhaps we could create a dedicated tool for this kind of duplication experimentation if it's a common enough use case in design exploration. Seemed worth documenting as a potential enhancement or use case that would be helped via "XLS-qua-toolkit" automation.
The text was updated successfully, but these errors were encountered: