ICG exclude of class member variables now defines incorrect memory offsets in io_src #311

Missed some bitfield offset calculations.
This commit is contained in:
Alex Lin
2016-09-16 09:46:03 -05:00
parent ae07b26243
commit 00a0e8be44
3 changed files with 13 additions and 0 deletions

View File

@ -443,6 +443,14 @@ void FieldDescription::setBitFieldWidth(unsigned int len) {
bitfield_width = len ;
}
void FieldDescription::setBitFieldStart(unsigned int sb) {
bitfield_start_bit = sb ;
}
void FieldDescription::setBitFieldByteOffset(unsigned int wo) {
bitfield_word_offset = wo ;
}
unsigned int FieldDescription::getBitFieldWidth() {
return bitfield_width ;
}