Trying to take advantage of channel arrays now that #704 is fixed.
However, I think I'm blocked by the fact that I can't keep track of tokens across the channel array separately. The test example as part of delivering the feature only shows sequential tokens:
However, if I'd like each channel in the array to operate in parallel, I want to save all those tokens so that I can sequence downstream sends/receives based on the specific token element.
What's hard to do? (limit 100 words)
Trying to take advantage of channel arrays now that #704 is fixed.
However, I think I'm blocked by the fact that I can't keep track of tokens across the channel array separately. The test example as part of delivering the feature only shows sequential tokens:
https://github.com/google/xls/blob/b117a11ef67534bba97f8562b024278fb9ba7ee5/xls/dslx/ir_convert/proc_config_ir_converter_test.cc#L305-L311
However, if I'd like each channel in the array to operate in parallel, I want to save all those tokens so that I can sequence downstream sends/receives based on the specific token element.
I tried out token arrays and it first fails on:
I tried hacking
BuiltinTypeAnnotation
to define a signedness for tokens, but then it just trips over thinking that it is asN
oruN
type:Current best alternative workaround (limit 100 words)
I'm not aware of any workaround aside from keeping the sends/receives manually unrolled.
Your view of the "best case XLS enhancement" (limit 100 words)
Would like to be able to do something like:
Could something like how we handle channel arrays be applied to tokens as well?