2 byte pin index #4097

bit alignment
This commit is contained in:
rusefillc 2022-04-24 17:21:41 -04:00
parent 23fb96f399
commit 9947b34aec
4 changed files with 176 additions and 172 deletions

View File

@ -64,6 +64,10 @@ public class ReaderState {
}
String[] bitNameParts = bitName.split(",");
if (log.debugEnabled())
log.debug("Need to align before bit " + bitName);
state.stack.peek().addAlignmentFill(state);
String trueName = bitNameParts.length > 1 ? bitNameParts[1].replaceAll("\"", "") : null;
String falseName = bitNameParts.length > 2 ? bitNameParts[2].replaceAll("\"", "") : null;

View File

@ -72,16 +72,16 @@ public class ConfigStructure {
int fillSize = totalSize % 4 == 0 ? 0 : 4 - (totalSize % 4);
if (fillSize != 0) {
int[] fillSizeArray;
if (fillSize != 1) {
fillSizeArray = new int[1];
fillSizeArray[0] = fillSize;
} else {
fillSizeArray = new int[0];
}
int[] fillSizeArray;
if (fillSize != 1) {
fillSizeArray = new int[1];
fillSizeArray[0] = fillSize;
} else {
fillSizeArray = new int[0];
}
ConfigField fill = new ConfigField(state, ALIGNMENT_FILL_AT + totalSize, "need 4 byte alignment",
"" + fillSize,
TypesHelper.UINT8_T, fillSizeArray, "\"units\", 1, 0, -20, 100, 0", false, false, false, null, null);
TypesHelper.UINT8_T, fillSizeArray, "\"units\", 1, 0, -20, 100, 0", false, false, false, null, null);
addBoth(fill);
}
totalSize += fillSize;

View File

@ -290,39 +290,39 @@ public class ConfigFieldParserTest {
"\tpublic static final Field ALIGNMENTFILL_AT_3 = Field.create(\"ALIGNMENTFILL_AT_3\", 3, FieldType.INT8).setScale(1.0);\n" +
"\tpublic static final Field INT2 = Field.create(\"INT2\", 4, FieldType.INT).setScale(1.0);\n" +
"\tpublic static final Field BYTE2 = Field.create(\"BYTE2\", 8, FieldType.INT8).setScale(1.0);\n" +
"\tpublic static final Field PERIODMS = Field.create(\"PERIODMS\", 9, FieldType.BIT, 0);\n" +
"\tpublic static final Field UNUSEDBIT_6_1 = Field.create(\"UNUSEDBIT_6_1\", 9, FieldType.BIT, 1);\n" +
"\tpublic static final Field UNUSEDBIT_6_2 = Field.create(\"UNUSEDBIT_6_2\", 9, FieldType.BIT, 2);\n" +
"\tpublic static final Field UNUSEDBIT_6_3 = Field.create(\"UNUSEDBIT_6_3\", 9, FieldType.BIT, 3);\n" +
"\tpublic static final Field UNUSEDBIT_6_4 = Field.create(\"UNUSEDBIT_6_4\", 9, FieldType.BIT, 4);\n" +
"\tpublic static final Field UNUSEDBIT_6_5 = Field.create(\"UNUSEDBIT_6_5\", 9, FieldType.BIT, 5);\n" +
"\tpublic static final Field UNUSEDBIT_6_6 = Field.create(\"UNUSEDBIT_6_6\", 9, FieldType.BIT, 6);\n" +
"\tpublic static final Field UNUSEDBIT_6_7 = Field.create(\"UNUSEDBIT_6_7\", 9, FieldType.BIT, 7);\n" +
"\tpublic static final Field UNUSEDBIT_6_8 = Field.create(\"UNUSEDBIT_6_8\", 9, FieldType.BIT, 8);\n" +
"\tpublic static final Field UNUSEDBIT_6_9 = Field.create(\"UNUSEDBIT_6_9\", 9, FieldType.BIT, 9);\n" +
"\tpublic static final Field UNUSEDBIT_6_10 = Field.create(\"UNUSEDBIT_6_10\", 9, FieldType.BIT, 10);\n" +
"\tpublic static final Field UNUSEDBIT_6_11 = Field.create(\"UNUSEDBIT_6_11\", 9, FieldType.BIT, 11);\n" +
"\tpublic static final Field UNUSEDBIT_6_12 = Field.create(\"UNUSEDBIT_6_12\", 9, FieldType.BIT, 12);\n" +
"\tpublic static final Field UNUSEDBIT_6_13 = Field.create(\"UNUSEDBIT_6_13\", 9, FieldType.BIT, 13);\n" +
"\tpublic static final Field UNUSEDBIT_6_14 = Field.create(\"UNUSEDBIT_6_14\", 9, FieldType.BIT, 14);\n" +
"\tpublic static final Field UNUSEDBIT_6_15 = Field.create(\"UNUSEDBIT_6_15\", 9, FieldType.BIT, 15);\n" +
"\tpublic static final Field UNUSEDBIT_6_16 = Field.create(\"UNUSEDBIT_6_16\", 9, FieldType.BIT, 16);\n" +
"\tpublic static final Field UNUSEDBIT_6_17 = Field.create(\"UNUSEDBIT_6_17\", 9, FieldType.BIT, 17);\n" +
"\tpublic static final Field UNUSEDBIT_6_18 = Field.create(\"UNUSEDBIT_6_18\", 9, FieldType.BIT, 18);\n" +
"\tpublic static final Field UNUSEDBIT_6_19 = Field.create(\"UNUSEDBIT_6_19\", 9, FieldType.BIT, 19);\n" +
"\tpublic static final Field UNUSEDBIT_6_20 = Field.create(\"UNUSEDBIT_6_20\", 9, FieldType.BIT, 20);\n" +
"\tpublic static final Field UNUSEDBIT_6_21 = Field.create(\"UNUSEDBIT_6_21\", 9, FieldType.BIT, 21);\n" +
"\tpublic static final Field UNUSEDBIT_6_22 = Field.create(\"UNUSEDBIT_6_22\", 9, FieldType.BIT, 22);\n" +
"\tpublic static final Field UNUSEDBIT_6_23 = Field.create(\"UNUSEDBIT_6_23\", 9, FieldType.BIT, 23);\n" +
"\tpublic static final Field UNUSEDBIT_6_24 = Field.create(\"UNUSEDBIT_6_24\", 9, FieldType.BIT, 24);\n" +
"\tpublic static final Field UNUSEDBIT_6_25 = Field.create(\"UNUSEDBIT_6_25\", 9, FieldType.BIT, 25);\n" +
"\tpublic static final Field UNUSEDBIT_6_26 = Field.create(\"UNUSEDBIT_6_26\", 9, FieldType.BIT, 26);\n" +
"\tpublic static final Field UNUSEDBIT_6_27 = Field.create(\"UNUSEDBIT_6_27\", 9, FieldType.BIT, 27);\n" +
"\tpublic static final Field UNUSEDBIT_6_28 = Field.create(\"UNUSEDBIT_6_28\", 9, FieldType.BIT, 28);\n" +
"\tpublic static final Field UNUSEDBIT_6_29 = Field.create(\"UNUSEDBIT_6_29\", 9, FieldType.BIT, 29);\n" +
"\tpublic static final Field UNUSEDBIT_6_30 = Field.create(\"UNUSEDBIT_6_30\", 9, FieldType.BIT, 30);\n" +
"\tpublic static final Field UNUSEDBIT_6_31 = Field.create(\"UNUSEDBIT_6_31\", 9, FieldType.BIT, 31);\n" +
"\tpublic static final Field ALIGNMENTFILL_AT_13 = Field.create(\"ALIGNMENTFILL_AT_13\", 13, FieldType.INT8).setScale(1.0);\n",
"\tpublic static final Field ALIGNMENTFILL_AT_9 = Field.create(\"ALIGNMENTFILL_AT_9\", 9, FieldType.INT8).setScale(1.0);\n" +
"\tpublic static final Field PERIODMS = Field.create(\"PERIODMS\", 12, FieldType.BIT, 0);\n" +
"\tpublic static final Field UNUSEDBIT_7_1 = Field.create(\"UNUSEDBIT_7_1\", 12, FieldType.BIT, 1);\n" +
"\tpublic static final Field UNUSEDBIT_7_2 = Field.create(\"UNUSEDBIT_7_2\", 12, FieldType.BIT, 2);\n" +
"\tpublic static final Field UNUSEDBIT_7_3 = Field.create(\"UNUSEDBIT_7_3\", 12, FieldType.BIT, 3);\n" +
"\tpublic static final Field UNUSEDBIT_7_4 = Field.create(\"UNUSEDBIT_7_4\", 12, FieldType.BIT, 4);\n" +
"\tpublic static final Field UNUSEDBIT_7_5 = Field.create(\"UNUSEDBIT_7_5\", 12, FieldType.BIT, 5);\n" +
"\tpublic static final Field UNUSEDBIT_7_6 = Field.create(\"UNUSEDBIT_7_6\", 12, FieldType.BIT, 6);\n" +
"\tpublic static final Field UNUSEDBIT_7_7 = Field.create(\"UNUSEDBIT_7_7\", 12, FieldType.BIT, 7);\n" +
"\tpublic static final Field UNUSEDBIT_7_8 = Field.create(\"UNUSEDBIT_7_8\", 12, FieldType.BIT, 8);\n" +
"\tpublic static final Field UNUSEDBIT_7_9 = Field.create(\"UNUSEDBIT_7_9\", 12, FieldType.BIT, 9);\n" +
"\tpublic static final Field UNUSEDBIT_7_10 = Field.create(\"UNUSEDBIT_7_10\", 12, FieldType.BIT, 10);\n" +
"\tpublic static final Field UNUSEDBIT_7_11 = Field.create(\"UNUSEDBIT_7_11\", 12, FieldType.BIT, 11);\n" +
"\tpublic static final Field UNUSEDBIT_7_12 = Field.create(\"UNUSEDBIT_7_12\", 12, FieldType.BIT, 12);\n" +
"\tpublic static final Field UNUSEDBIT_7_13 = Field.create(\"UNUSEDBIT_7_13\", 12, FieldType.BIT, 13);\n" +
"\tpublic static final Field UNUSEDBIT_7_14 = Field.create(\"UNUSEDBIT_7_14\", 12, FieldType.BIT, 14);\n" +
"\tpublic static final Field UNUSEDBIT_7_15 = Field.create(\"UNUSEDBIT_7_15\", 12, FieldType.BIT, 15);\n" +
"\tpublic static final Field UNUSEDBIT_7_16 = Field.create(\"UNUSEDBIT_7_16\", 12, FieldType.BIT, 16);\n" +
"\tpublic static final Field UNUSEDBIT_7_17 = Field.create(\"UNUSEDBIT_7_17\", 12, FieldType.BIT, 17);\n" +
"\tpublic static final Field UNUSEDBIT_7_18 = Field.create(\"UNUSEDBIT_7_18\", 12, FieldType.BIT, 18);\n" +
"\tpublic static final Field UNUSEDBIT_7_19 = Field.create(\"UNUSEDBIT_7_19\", 12, FieldType.BIT, 19);\n" +
"\tpublic static final Field UNUSEDBIT_7_20 = Field.create(\"UNUSEDBIT_7_20\", 12, FieldType.BIT, 20);\n" +
"\tpublic static final Field UNUSEDBIT_7_21 = Field.create(\"UNUSEDBIT_7_21\", 12, FieldType.BIT, 21);\n" +
"\tpublic static final Field UNUSEDBIT_7_22 = Field.create(\"UNUSEDBIT_7_22\", 12, FieldType.BIT, 22);\n" +
"\tpublic static final Field UNUSEDBIT_7_23 = Field.create(\"UNUSEDBIT_7_23\", 12, FieldType.BIT, 23);\n" +
"\tpublic static final Field UNUSEDBIT_7_24 = Field.create(\"UNUSEDBIT_7_24\", 12, FieldType.BIT, 24);\n" +
"\tpublic static final Field UNUSEDBIT_7_25 = Field.create(\"UNUSEDBIT_7_25\", 12, FieldType.BIT, 25);\n" +
"\tpublic static final Field UNUSEDBIT_7_26 = Field.create(\"UNUSEDBIT_7_26\", 12, FieldType.BIT, 26);\n" +
"\tpublic static final Field UNUSEDBIT_7_27 = Field.create(\"UNUSEDBIT_7_27\", 12, FieldType.BIT, 27);\n" +
"\tpublic static final Field UNUSEDBIT_7_28 = Field.create(\"UNUSEDBIT_7_28\", 12, FieldType.BIT, 28);\n" +
"\tpublic static final Field UNUSEDBIT_7_29 = Field.create(\"UNUSEDBIT_7_29\", 12, FieldType.BIT, 29);\n" +
"\tpublic static final Field UNUSEDBIT_7_30 = Field.create(\"UNUSEDBIT_7_30\", 12, FieldType.BIT, 30);\n" +
"\tpublic static final Field UNUSEDBIT_7_31 = Field.create(\"UNUSEDBIT_7_31\", 12, FieldType.BIT, 31);\n",
javaFieldsConsumer.getContent());
assertEquals("// start of pid_s\n" +
"struct pid_s {\n" +
@ -349,107 +349,107 @@ public class ConfigFieldParserTest {
"\t */\n" +
"\tint8_t byte2 = (int8_t)0;\n" +
"\t/**\n" +
"\toffset 9 bit 0 */\n" +
"\tbool periodMs : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 1 */\n" +
"\tbool unusedBit_6_1 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 2 */\n" +
"\tbool unusedBit_6_2 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 3 */\n" +
"\tbool unusedBit_6_3 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 4 */\n" +
"\tbool unusedBit_6_4 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 5 */\n" +
"\tbool unusedBit_6_5 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 6 */\n" +
"\tbool unusedBit_6_6 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 7 */\n" +
"\tbool unusedBit_6_7 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 8 */\n" +
"\tbool unusedBit_6_8 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 9 */\n" +
"\tbool unusedBit_6_9 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 10 */\n" +
"\tbool unusedBit_6_10 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 11 */\n" +
"\tbool unusedBit_6_11 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 12 */\n" +
"\tbool unusedBit_6_12 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 13 */\n" +
"\tbool unusedBit_6_13 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 14 */\n" +
"\tbool unusedBit_6_14 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 15 */\n" +
"\tbool unusedBit_6_15 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 16 */\n" +
"\tbool unusedBit_6_16 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 17 */\n" +
"\tbool unusedBit_6_17 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 18 */\n" +
"\tbool unusedBit_6_18 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 19 */\n" +
"\tbool unusedBit_6_19 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 20 */\n" +
"\tbool unusedBit_6_20 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 21 */\n" +
"\tbool unusedBit_6_21 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 22 */\n" +
"\tbool unusedBit_6_22 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 23 */\n" +
"\tbool unusedBit_6_23 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 24 */\n" +
"\tbool unusedBit_6_24 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 25 */\n" +
"\tbool unusedBit_6_25 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 26 */\n" +
"\tbool unusedBit_6_26 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 27 */\n" +
"\tbool unusedBit_6_27 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 28 */\n" +
"\tbool unusedBit_6_28 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 29 */\n" +
"\tbool unusedBit_6_29 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 30 */\n" +
"\tbool unusedBit_6_30 : 1 {};\n" +
"\t/**\n" +
"\toffset 9 bit 31 */\n" +
"\tbool unusedBit_6_31 : 1 {};\n" +
"\t/**\n" +
"\t * need 4 byte alignment\n" +
"\tunits\n" +
"\t * offset 13\n" +
"\t * offset 9\n" +
"\t */\n" +
"\tuint8_t alignmentFill_at_13[3];\n" +
"\tuint8_t alignmentFill_at_9[3];\n" +
"\t/**\n" +
"\toffset 12 bit 0 */\n" +
"\tbool periodMs : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 1 */\n" +
"\tbool unusedBit_7_1 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 2 */\n" +
"\tbool unusedBit_7_2 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 3 */\n" +
"\tbool unusedBit_7_3 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 4 */\n" +
"\tbool unusedBit_7_4 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 5 */\n" +
"\tbool unusedBit_7_5 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 6 */\n" +
"\tbool unusedBit_7_6 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 7 */\n" +
"\tbool unusedBit_7_7 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 8 */\n" +
"\tbool unusedBit_7_8 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 9 */\n" +
"\tbool unusedBit_7_9 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 10 */\n" +
"\tbool unusedBit_7_10 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 11 */\n" +
"\tbool unusedBit_7_11 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 12 */\n" +
"\tbool unusedBit_7_12 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 13 */\n" +
"\tbool unusedBit_7_13 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 14 */\n" +
"\tbool unusedBit_7_14 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 15 */\n" +
"\tbool unusedBit_7_15 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 16 */\n" +
"\tbool unusedBit_7_16 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 17 */\n" +
"\tbool unusedBit_7_17 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 18 */\n" +
"\tbool unusedBit_7_18 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 19 */\n" +
"\tbool unusedBit_7_19 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 20 */\n" +
"\tbool unusedBit_7_20 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 21 */\n" +
"\tbool unusedBit_7_21 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 22 */\n" +
"\tbool unusedBit_7_22 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 23 */\n" +
"\tbool unusedBit_7_23 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 24 */\n" +
"\tbool unusedBit_7_24 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 25 */\n" +
"\tbool unusedBit_7_25 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 26 */\n" +
"\tbool unusedBit_7_26 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 27 */\n" +
"\tbool unusedBit_7_27 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 28 */\n" +
"\tbool unusedBit_7_28 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 29 */\n" +
"\tbool unusedBit_7_29 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 30 */\n" +
"\tbool unusedBit_7_30 : 1 {};\n" +
"\t/**\n" +
"\toffset 12 bit 31 */\n" +
"\tbool unusedBit_7_31 : 1 {};\n" +
"};\n" +
"static_assert(sizeof(pid_s) == 16);\n" +
"\n", consumer.getContent());

View File

@ -29,39 +29,39 @@ public class OutputsTest {
assertEquals("afr_type = scalar, F32, 0, \"ms\", 1, 0\n" +
"afr_typet = scalar, U08, 4, \"ms\", 1, 0\n" +
"isForcedInduction = bits, U32, 5, [0:0]\n" +
"enableFan1WithAc = bits, U32, 5, [1:1]\n" +
"unusedBit_4_2 = bits, U32, 5, [2:2]\n" +
"unusedBit_4_3 = bits, U32, 5, [3:3]\n" +
"unusedBit_4_4 = bits, U32, 5, [4:4]\n" +
"unusedBit_4_5 = bits, U32, 5, [5:5]\n" +
"unusedBit_4_6 = bits, U32, 5, [6:6]\n" +
"unusedBit_4_7 = bits, U32, 5, [7:7]\n" +
"unusedBit_4_8 = bits, U32, 5, [8:8]\n" +
"unusedBit_4_9 = bits, U32, 5, [9:9]\n" +
"unusedBit_4_10 = bits, U32, 5, [10:10]\n" +
"unusedBit_4_11 = bits, U32, 5, [11:11]\n" +
"unusedBit_4_12 = bits, U32, 5, [12:12]\n" +
"unusedBit_4_13 = bits, U32, 5, [13:13]\n" +
"unusedBit_4_14 = bits, U32, 5, [14:14]\n" +
"unusedBit_4_15 = bits, U32, 5, [15:15]\n" +
"unusedBit_4_16 = bits, U32, 5, [16:16]\n" +
"unusedBit_4_17 = bits, U32, 5, [17:17]\n" +
"unusedBit_4_18 = bits, U32, 5, [18:18]\n" +
"unusedBit_4_19 = bits, U32, 5, [19:19]\n" +
"unusedBit_4_20 = bits, U32, 5, [20:20]\n" +
"unusedBit_4_21 = bits, U32, 5, [21:21]\n" +
"unusedBit_4_22 = bits, U32, 5, [22:22]\n" +
"unusedBit_4_23 = bits, U32, 5, [23:23]\n" +
"unusedBit_4_24 = bits, U32, 5, [24:24]\n" +
"unusedBit_4_25 = bits, U32, 5, [25:25]\n" +
"unusedBit_4_26 = bits, U32, 5, [26:26]\n" +
"unusedBit_4_27 = bits, U32, 5, [27:27]\n" +
"unusedBit_4_28 = bits, U32, 5, [28:28]\n" +
"unusedBit_4_29 = bits, U32, 5, [29:29]\n" +
"unusedBit_4_30 = bits, U32, 5, [30:30]\n" +
"unusedBit_4_31 = bits, U32, 5, [31:31]\n" +
"alignmentFill_at_9 = array, U08, 9, [3], \"units\", 1, 0\n" +
"alignmentFill_at_5 = array, U08, 5, [3], \"units\", 1, 0\n" +
"isForcedInduction = bits, U32, 8, [0:0]\n" +
"enableFan1WithAc = bits, U32, 8, [1:1]\n" +
"unusedBit_5_2 = bits, U32, 8, [2:2]\n" +
"unusedBit_5_3 = bits, U32, 8, [3:3]\n" +
"unusedBit_5_4 = bits, U32, 8, [4:4]\n" +
"unusedBit_5_5 = bits, U32, 8, [5:5]\n" +
"unusedBit_5_6 = bits, U32, 8, [6:6]\n" +
"unusedBit_5_7 = bits, U32, 8, [7:7]\n" +
"unusedBit_5_8 = bits, U32, 8, [8:8]\n" +
"unusedBit_5_9 = bits, U32, 8, [9:9]\n" +
"unusedBit_5_10 = bits, U32, 8, [10:10]\n" +
"unusedBit_5_11 = bits, U32, 8, [11:11]\n" +
"unusedBit_5_12 = bits, U32, 8, [12:12]\n" +
"unusedBit_5_13 = bits, U32, 8, [13:13]\n" +
"unusedBit_5_14 = bits, U32, 8, [14:14]\n" +
"unusedBit_5_15 = bits, U32, 8, [15:15]\n" +
"unusedBit_5_16 = bits, U32, 8, [16:16]\n" +
"unusedBit_5_17 = bits, U32, 8, [17:17]\n" +
"unusedBit_5_18 = bits, U32, 8, [18:18]\n" +
"unusedBit_5_19 = bits, U32, 8, [19:19]\n" +
"unusedBit_5_20 = bits, U32, 8, [20:20]\n" +
"unusedBit_5_21 = bits, U32, 8, [21:21]\n" +
"unusedBit_5_22 = bits, U32, 8, [22:22]\n" +
"unusedBit_5_23 = bits, U32, 8, [23:23]\n" +
"unusedBit_5_24 = bits, U32, 8, [24:24]\n" +
"unusedBit_5_25 = bits, U32, 8, [25:25]\n" +
"unusedBit_5_26 = bits, U32, 8, [26:26]\n" +
"unusedBit_5_27 = bits, U32, 8, [27:27]\n" +
"unusedBit_5_28 = bits, U32, 8, [28:28]\n" +
"unusedBit_5_29 = bits, U32, 8, [29:29]\n" +
"unusedBit_5_30 = bits, U32, 8, [30:30]\n" +
"unusedBit_5_31 = bits, U32, 8, [31:31]\n" +
"m_requested_pump = scalar, F32, 12, \"\", 1, 0\n" +
"tCharge = scalar, F32, 16, \"\", 1, 0\n" +
"; total TS size = 20\n", tsProjectConsumer.getContent());