m2isar.backends.trace_gen.backend.CodeBuilder ============================================= .. py:module:: m2isar.backends.trace_gen.backend.CodeBuilder Classes ------- .. autoapisummary:: m2isar.backends.trace_gen.backend.CodeBuilder.BitRange m2isar.backends.trace_gen.backend.CodeBuilder.CodeBuilder Module Contents --------------- .. py:class:: BitRange(name: str, msb: int, lsb: int, offset: int) Represents the actual bit range of a bitfield within the instruction encoding. .. py:attribute:: name .. py:attribute:: msb .. py:attribute:: lsb .. py:attribute:: offset .. py:method:: __repr__() .. py:class:: CodeBuilder(trace_model_, m2_coreDef_model_) .. py:attribute:: __MAX_STRING_SIZE_DEFAULT :value: 100 .. py:attribute:: __MAX_INT_SIZE :value: 16 .. py:attribute:: __CHANNEL_SIZE :value: 100 .. py:attribute:: trace_model .. py:attribute:: m2_coreDef_model .. py:method:: getStringSize(trVal_) .. py:method:: getChannelSize() .. py:method:: getBufferName(trVal_) .. py:method:: getInstrCntName() .. py:method:: getInstrMonitorName(instrName_) .. py:method:: getStreamSetup(trVal_) .. py:method:: getEmptyStream(trVal_) .. py:method:: getStreamSetupCaption(trVal_) .. py:method:: getSeparater() .. py:method:: getDescriptionString(descriptions) .. py:method:: getLicenseHeader() .. py:method:: getHeaderDefinePrefix_Monitor() .. py:method:: getHeaderDefinePrefix_Channel() .. py:method:: getHeaderDefinePrefix_Printer() .. py:method:: getAllBitRanges(instr_, bf_i) .. py:method:: __getMonitorPrefix() .. py:method:: __getStreamSetupInt() .. py:method:: __getStreamSetupString(size_) .. py:method:: __getEmptyStreamWithSize(size_) .. py:method:: __getValidStringSize(trVal_) .. py:method:: __getHeaderDefinePrefix_SWEvalBackends() .. py:method:: __calculate_bit_ranges(instr) -> List[BitRange]