xls
xls copied to clipboard
[enhancement] Make an easy path to add DSLX models to a DUT
What's hard to do? (limit 100 words)
If you have a DUT proc, you might want to use a DSLX model (ex: a memory model) and attach it to some channels in the DUT. This is technically possible, but it's a fair amount of toil. You have to manually figure out how to do the binding, you need to deal w/ some templating or careful ir conversion invocation to deal with parameterization, and then you need to manipulate channels so everything actually works.
Current best alternative workaround (limit 100 words)
- Write C++ models and model stuff outside of the proc runtime
- Manually invoke IR conversion and manipulate the package
Your view of the "best case XLS enhancement" (limit 100 words)
#889 and #864 give some of the core features needed, and then a top-level API that does the binding of channels by name.