Add helper function(s) to "split" `Logic`s and `LogicValue`s
Open
enhancement
help wanted
- Dominant language
- Dart
- Stars
- 489
- Forks
- 88
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
### Motivation
Some common use cases:
- Split a bus into individual bits to be processed independently
- Split a bus into chunks of equal size (e.g. bytes)
- Split a bus into chunks of unequal size (e.g. decoding a header with various fields)
### Desired solution
A generic and powerful solution that applies to these and more cases would be ideal. It would be useful to have matching APIs for both `Logic` and `LogicValue`.
### Alternatives considered
_No response_
### Additional details
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.