PastravMD/tixml2ada

[Register/Dump] Bitfield arrays are incorrectly ordered

Closed this issue · 1 comments

Arrays of bitfields inside register records are incorrectly ordered:
i.e. "regX.Arr(31) := 1;"
leads to bit 0 being written.

Order of array elements has to be inverted somehow

fixed by specifying "Scalar_Storage_Order => System.Low_Order_First" for both the arry of bitfields and the record/union containing it.