SystemRDL / PeakRDL-Markdown

Markdown exporter for the PeakRDL toolchain
GNU General Public License v3.0
4 stars 7 forks source link

use array index in identifiers #19

Closed bwhitchurch closed 5 months ago

bwhitchurch commented 5 months ago

This changes the identifier string for register arrays to use the array index rather than size of the array dimension. It addresses the basic issue raised in #5.

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 9355208716

Details


Totals Coverage Status
Change from base Build 8711348166: 0.0%
Covered Lines: 148
Relevant Lines: 168

💛 - Coveralls
jeras commented 5 months ago

I just tested it, it works as described.

Array elements in the address table are now properly indexed. It works for multidimensional arrays too.

The repetitive documentation for each array element remains. All instances have the same heading, giving no indication which index are they, they differ only in the absolute address.