xls
xls copied to clipboard
Generic integration memory peripheral
Generic integration creates memory mapped device.
This is the third and last PR in the series of 3. It requires #1177
It adds concept of managers, they are responsible for translating memory type accesses to stream operations. They are also responsible for lifetime of the channel wrappers. There are 3 types of manager:
- SingleValue,
- Stream,
- DMA.
This PR also adds top level XlsPeripheral class. It's responsible for:
- reading configuration file,
- initializing IR simulation,
- configuring managers,
- redirecting memory operations to correct channel manager,
- advancing simulation.