knowledgebase/db/db_helper.py
@@ -379,8 +379,12 @@
    "combPkt": 12,
    "const": 15,
    "length": 17,
    "enum": 26,
    "enum": 18,
    "sendFlag": 26,
    "checkSum": 20,
    "insUnit": 4,
    "insUnitList": 11,
    "input": 19
}
@@ -395,7 +399,7 @@
        C_CODE=info['code'] if 'code' in info else '',
        C_TYPE=ins_ty[info['type']] if 'type' in info else 0,
        C_DEF=info['def'] if 'def' in info else None,
        C_BIT_WIDTH=info['bitWidth'] if 'bitWidth' in info else 0,
        C_BIT_WIDTH=info['bitWidth'] if 'bitWidth' in info else None,
        C_BIT_ORDER=info['bitOrder'] if 'bitOrder' in info else 0,
        C_ATTR=info['attr'] if 'attr' in info else 0,
        C_RANGE=info['range'] if 'range' in info else None,